Ecosyste.ms: OpenCollective

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

github.com/AlchemyCMS/alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://github.com/AlchemyCMS/alchemy_cms

Extract common eager loading parameters into Class

This helps keep the duplication down.

dbcfd938188d50627ad2d8090207a6cd0381a921 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Fix Admin Pages Request spec

This spec mocked many things unnecessarily.

78f22772542867d6a10a03313175961c0fde21a5 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Preload page includes in Admin::Admin::PagesController

Here, we need to preload the draft version because that's what we look
at.

2c7e111f2178a437e89d5234d9bf057d475c2074 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Preload related objects in Alchemy::PagesController

Note that we're only preloading the public version here.

d556574a19b2c6293311c4ba6d178722afced12c authored over 2 years ago by Martin Meyerhoff <[email protected]>
Preload page-related objects in PublishPage job

We need to preload a bit of stuff to publish a page, notably all the
elements, ingredients, and ...

cf0998d61df6b70a790107dc22403503cfa317c3 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Deprecate passing a Page into PublishPageJob

Passing an page "object" here through `GlobalID` and then reloading will
lead to double page loads.

5b61e8b012291118b4626fbdc46facc175ed772f authored over 2 years ago by Martin Meyerhoff <[email protected]>
Do not eager load at the model level

It's not great to eager load stuff at the model level. In case a
previous user of the data has p...

0d443abd41d20b1b3a0cd047b54a627715e52566 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Add 5.3 changelog

76cd6d8fc46c09330b331103a950ce6838c85db5 authored over 2 years ago by Thomas von Deyen <[email protected]>
Add 6.0.1 changelog

04ac4b7ffa3e50283b4bfb519ce57323722cecd9 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2309 from mamhoff/deprecate-element-available

Deprecate Alchemy::Element.available

4773be547cad06acd81553a907114fb4a0f78daa authored over 2 years ago by Thomas von Deyen <[email protected]>
Replace usages of Element.available

There were some usages in relations that I replaced with the synonym
`published`. In the `Elemen...

94f46c2f05f99d538d038a6eca2315b76cba2a11 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Deprecated Alchemy::Element.available

This is just an alias to "published", which in turn is an alias for
`where(public: true)`. In mo...

1260fd71cabdabf918e0ca206a0e636b81c0652a authored over 2 years ago by Martin Meyerhoff <[email protected]>
Merge pull request #2322 from mamhoff/allow-render-element-to-take-partial

Allow passing a different partial to `render_element`

72f6353c590b10e2565f0d6f728bb8ebbafcc354 authored over 2 years ago by Thomas von Deyen <[email protected]>
Allow passing a different partial to `render_element`

This is useful when rendering elements on a different page than the one
they are on, for example...

eca392e21f928dbffa9d516862b816689be9ee8e authored over 2 years ago by Martin Meyerhoff <[email protected]>
Merge pull request #2319 from mamhoff/raise-on-wrong-locale

Raise on non-existing locale

443ee332fbbaad3cd232684a02cb8d4c1cae69c1 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2321 from mamhoff/allow-render-elements-to-take-block

Allow render_elements to take a block

18f3bac337b274c51f4756da1c3e5733c48bd13e authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2320 from tvdeyen/remove-root_page-var

Remove old unused root_page ivar

43ff26e803f284867af106154248090879bf09aa authored over 2 years ago by Thomas von Deyen <[email protected]>
Allow render_elements to take a block

In this block you can call

```
render_element(element, options, i)
```

It's quite convenient!

233c7f76c9a2dafd9f0010b98ee20b9a7a98e8f6 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Api Base Controller: Rufo

c14f65d8f1f92a010498d7e3822af9414b6347e8 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Raise on non-existing locale

If a locale parameter is given, we want to give a good error and not
render the default locale.

94fabfd0056384ca827d2587466ecbf0d56b8f0e authored over 2 years ago by Martin Meyerhoff <[email protected]>
Remove old unused root_page ivar

This ivar was necessary for the render_navigation helper,
which has been removed in 5.0

ff91e210eff6868a5556ed15ae11aadc11fd3388 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2318 from tvdeyen/remove-puts-from-specs

chore: Remove unnecessary puts from spec

af92c9056c4493bc95a7293f31d02143e780755c authored over 2 years ago by Thomas von Deyen <[email protected]>
chore: Remove unnecessary puts from spec

6158f37a43d0e3e67b74e34db9a14dff1a0519aa authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2312 from mamhoff/use-page-version-element-repository

Refactor: Use page version's element repository rather than a new one

756064cf9032e10c8dd6013385dfba0982956636 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2315 from kulturbande/feature/gif-resizing

Fix gif resizing

d07f74ec9065b6bacfd5fb474fd604250e014855 authored over 2 years ago by Thomas von Deyen <[email protected]>
Add thumbnail processor to support resizing on animated GIFs

With the default thumb - method the GIFs have artifacts after the second frame. To prevent this...

37dece45b33912e51e547732b7e0997376e64a33 authored over 2 years ago by Sascha Karnatz <[email protected]>
Refactor: Use page version's element repository rather than a new one

The `PageVersion` model offers us a repository we can use, so let's go
with that.

c3e683631a45e4582d5dad040371a8a7f62e0287 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Merge pull request #2308 from mamhoff/explicitly-store-data

Explicitly set "store" for MariaDB

d2aa242b928417784743347c6a55c6361c2afd29 authored over 2 years ago by Thomas von Deyen <[email protected]>
Explicitly set "store" for MariaDB

MariaDB does not have a native "JSON(B)" type, and thus rails does not
know that the `alchemy_in...

9b74cd71904186c3ad275628427e6aa87f3cbdcb authored over 2 years ago by Martin Meyerhoff <[email protected]>
Merge pull request #2307 from mamhoff/set-preview-mode-earlier

Set preview mode earlier

93c850f63279b435f17a3cea3c210d315e0e6b55 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2305 from mamhoff/fix-setting-public-on-date

Fix updating the public_on date on persisted pages

d1fec7c63d4e65fbab8a7caa254237f06dc2ed83 authored over 2 years ago by Thomas von Deyen <[email protected]>
Run `OnPageLayout` callbacks after setting page version

It's useful to have not just the page, but also the page version
available in `OnPageLayout` cal...

eca0e023f8776d707a55555c8037243d6cfe6248 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Set preview mode early in Admin::PagesController

When running `OnPageLayout` callbacks, it's probably wise to have
`@version` available for choos...

0cb7b758b53f25900a9bee8616029878cf01b820 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Persist expanded content groups in sessionStorage

dc66ce336809b7cfd61526cd163008a8f8c72abf authored over 2 years ago by dbwinger <[email protected]>
Fix updating the public_on date on persisted pages

When updating a page's `public_on` date, we need to save the associated
public page as well. Thi...

dcb6a0565b74594b0e314e0b5b54e30e48a5d928 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Merge pull request #2277 from dbwinger/restrict-nodes-to-language

Restrict Node select to the site/language of the page being edited

40abf671a7a8fed5b5ab278ebef0c36364c9f371 authored over 2 years ago by Thomas von Deyen <[email protected]>
Restyle element content groups

efa4dd33e4b0497136784c5b930819d05f3893b5 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2292 from dbwinger/paste-single-element

Allow pasting into parent element with only one nested element type

9982f07d18f6bc4390f0dccb490bd1e157a0adc1 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2302 from dssjoblom/turbolinks-config

Allow opting out of Turbolinks in non-Alchemy controllers

4fba9393113a79004da739d6c8dc62586d0589fd authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2229 from tvdeyen/ruby-3.1

Add Ruby 3.1 support

33526e6485fafd40baece0cd64e796729b17ca3d authored over 2 years ago by Thomas von Deyen <[email protected]>
updates

7eddb7cebe3195f781366387d12d32825211dfb5 authored over 2 years ago by dbwinger <[email protected]>
Merge pull request #2300 from mamhoff/explicit-case-insensitivity

Explicitly validate uniqueness without case sensitivity

d348060f6804dc4ff55f20611b706aa89152547a authored over 2 years ago by Thomas von Deyen <[email protected]>
Explicitly validate uniqueness without case sensitivity

In Rails 6.1, the default behavior of the uniqueness validator changed
from case-sensitive to ca...

9492b15888f85f05d119acc355ddce59514e622d authored over 2 years ago by Martin Meyerhoff <[email protected]>
Merge pull request #2299 from gr8bit/patch-1

Fix frozen string error when mixing template engines

f83cbd6679475ed50a3cae8c28d67be0af6a1e8a authored over 2 years ago by Thomas von Deyen <[email protected]>
Fix frozen string error when mixing template engines

There's already an _article.html.erb which was created when first installing alchemy.

Now, af...

f89c911e534b2b8250f81caa219842a7da2b2bb4 authored over 2 years ago by Niklas <[email protected]>
Allow pasting into parent element with only one nested element type

95b3d39431af21220fa02aa1ed89fcfc28a97f36 authored over 2 years ago by dbwinger <[email protected]>
Explicitly include Turbolinks in base controller

* allows an application to opt out of Turbolinks in
non-Alchemy controllers

f4591cc40beee5040fc2c47872275d4217a92f40 authored over 2 years ago by Daniel Sjöblom <[email protected]>
Merge pull request #2293 from tvdeyen/do-not-flatten-webp

Do not flatten gifs if converted to webp

12e8a4fe9035aeff330b19a03e51b3ca66b4c9c2 authored over 2 years ago by Thomas von Deyen <[email protected]>
Do not flatten gifs if converted to webp

WebP can also be animated. So, we should not flatten GIFs,
if we convert them to WebP.

75dc9b89cd5b18267b76c1bb77db40ab3bbdb2e4 authored over 2 years ago by Thomas von Deyen <[email protected]>
Update README for 6.0 release

6391ac94b618a6d4cc30bdf724c1bc652c1dcc66 authored over 2 years ago by Thomas von Deyen <[email protected]>
Main now tracks v6.1.0-a

d3d6f7e50694080fe859b8e335e2330bf6bdb26c authored over 2 years ago by Thomas von Deyen <[email protected]>
Remove unnecesary present? and blank? checks

0b8e4db22df6d545b02621d5e639446e0390b575 authored over 2 years ago by dbwinger <[email protected]>
Skip ci runs for Rails 6.0 and Ruby 3.1

Rails 6.0 does not have support for Ruby 3.1

773a63abc1e28cc1ebd73198c4dd505957a9d398 authored over 2 years ago by Thomas von Deyen <[email protected]>
Add net-pop and net-imap for Rails 6.1

Ruby 3.1 dropped these gems from their default install, but rails 6.1 needs them.

ee94e937145f85547a7ed3732d6f8eee90bda8c6 authored over 2 years ago by Thomas von Deyen <[email protected]>
Address Rubocop complaints

6820a519127ecb8238f00b100e60b704b33ec322 authored over 2 years ago by Thomas von Deyen <[email protected]>
Rename YAML_WHITELIST_CLASSES

Ruby uses permitted_classes as named argument. Also the name is less controversal.

074bf5a6acadfe33838b7803e4ccf342070b6c91 authored over 2 years ago by Thomas von Deyen <[email protected]>
Add Ruby 3.1 to GH Actions build matrix

74287136e4f633d5cd5cdfd3b7c44a9b7bf5a2c3 authored over 2 years ago by Thomas von Deyen <[email protected]>
Use keyword arguments on YAML.safe_load

Ruby 3.1 has removed the old deprecated
positional arguments of YAML.safe_load

e22b701242250cd0c4bc2c05177beac48d63f1b5 authored over 2 years ago by Thomas von Deyen <[email protected]>
Install net-smtp if using Ruby 3.1

Necessary until https://github.com/mikel/mail/pull/1439 got merged.

6cb20982ad30ecac4ffbeb03b598a2822863137f authored over 2 years ago by Thomas von Deyen <[email protected]>
Add element groups functionality for cleaning up editors

d5c1d2533cc04fa5eef274e94bab1581df5e6d6b authored over 2 years ago by dbwinger <[email protected]>
Bump version to v6.0.0

f438ab231d033815aa5a726d6c95ae1eb5c92d92 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2225 from tvdeyen/rails-7

Rails 7 Support

26eacf8ba6c0aa91ffe52ca089ad3ea02ed0c3b3 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2282 from dssjoblom/main

Don't hardcode URLs in Javascript

469301bdcf5c8d5bbf0f213b8fd0aeee69233447 authored over 2 years ago by Thomas von Deyen <[email protected]>
Allow other host in unlock redirect

This stopped working in Rails 7. Since Rails 5.2 it is possible to allow other hosts in redirect...

19309cef17cc95daba0cbd6089ef2e2c1f345e8e authored over 2 years ago by Thomas von Deyen <[email protected]>
Refactor Message spec

This spec needs to be adopted to latest Rails versions.

63d98d468e59486da99721064f97373b722712d3 authored over 2 years ago by Thomas von Deyen <[email protected]>
Use Rails 7.0-stable branch

We need this until a Rails 7.0 version has been released to includes the fix for MySQL foreign k...

86d637dd0beb57410461dd7799c021ed7fc375ec authored over 2 years ago by Thomas von Deyen <[email protected]>
Remove eager loading of ingredients_associations

To make this feature work we added a Hack into active record. This hack does not work in Rails 7...

2c9a785dc9e09df0b1130432ae70d1204e7440bf authored over 2 years ago by Thomas von Deyen <[email protected]>
Move initializer code into to_prepare block

Rails 7 does not autoload constants during boot anymore.

75c7316d682b35e48ffe042102de59140a46674a authored over 2 years ago by Thomas von Deyen <[email protected]>
Update dummy app to Rails 7.0

760b1d423bd1710d57ae569c07dbcddc34961d50 authored over 2 years ago by Thomas von Deyen <[email protected]>
Move userstamp setup into after_initialize hook

Now that the userclass will be set in a config.to_prepare
block in apps we need to run this code...

407b5314034c4882049a4d945e7c5852147f372a authored over 2 years ago by Thomas von Deyen <[email protected]>
Add Rails 7.0 to CI matrix

But do not test Rails 7 with Ruby 2.6, because they dropped support for it.

32fbc4edbf9fc068184d1c6347f6bdacc3a36836 authored over 2 years ago by Thomas von Deyen <[email protected]>
Allow Rails 7.0

b507a4f5282e6a52109030491b5bdde524f7de66 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2287 from AlchemyCMS/depfu/update/main/ransack-3.0.1

[ruby - main] Allow ransack version 3.0.1

f218a3de62af4c2000999ec4102fc8c6736a742c authored over 2 years ago by Thomas von Deyen <[email protected]>
Allow all ransack 3.x versions

5a60ef46110e153037f3ced49a71cf9b2abbdb17 authored over 2 years ago by Thomas von Deyen <[email protected]>
Update ransack to version 3.0.1

0d34aff310dc5f6975eed876da0a0479663f884a authored over 2 years ago by depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Merge pull request #2285 from tvdeyen/fix-image-loader-error-handling

Fix image loader

605b8ee52b3dd95857677ffa54f7422758ad3b5c authored over 2 years ago by Thomas von Deyen <[email protected]>
Fix picture editors image replacement

Instead of a DOM string we use a new Image instance.
That way Firefox and Safari recognize it as...

0067358ca765f719e72dde70cf110013ff4f81ff authored over 2 years ago by Thomas von Deyen <[email protected]>
Fix picture thumbnail error icon size

The svg we display if the image could not be loaded should be its original size

337752f9fe655c284da6d37081e66e677541661b authored over 2 years ago by Thomas von Deyen <[email protected]>
Fix image loader error handling

Add a error class to the icon, so we can style it.
Also update log message of the `image.src` if...

114c4047e57ad3f9d30881c5023b51a2696036b2 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2283 from dbwinger/render-element-locals

Don't delete locals in render_element so they can be used by all elements in render_elements

eb3ad03e445f870d66d5e2616204f92bb7eb35d5 authored over 2 years ago by Thomas von Deyen <[email protected]>
Don't delete locals in render_element so they can be used by all elements in render_elements

.

bc2c025b1f98d14b8659fd8cdf137c0f1917d3f5 authored over 2 years ago by dbwinger <[email protected]>
Don't hardcode URLs in Javascript

f7e995fe14532dd1b62983dff8f36aad32ac3d31 authored over 2 years ago by Daniel Sjöblom <[email protected]>
Merge pull request #2210 from robinboening/resource_enum_support

Support AR enums in resource models

a4397f210200f0f407e0f9ee9b10da276fb2eb27 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2276 from dbwinger/link-dialog-pages

Show site and language name on page select in Link dialog

26bf596a0e7ee81a29a4b39694f5ab7389940ec0 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2278 from AlchemyCMS/depfu/update/main/ransack-3.0.0

[ruby - main] Allow ransack 3.0.0

4e1e12ef67eee9502a5470fdb1b01984bca066f5 authored over 2 years ago by Thomas von Deyen <[email protected]>
Update ransack to version 3.0.0

79384acb8d1a0d9000a30588b6deb10912ef33f6 authored over 2 years ago by depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Support activerecord enums in resource models

translate enum values using I18n

```
activerecord:
attributes:
modelname:
enumname:...

473edb6fefe86efba20ce8bf5a12f08b53f64284 authored over 2 years ago by Robin Böning <[email protected]>
Restrict Node select to the site/language of the page being edited

828092f19a0956af66ec27fdc8ba7080cdfa4269 authored over 2 years ago by dbwinger <[email protected]>
Show site and language name on page select in Link dialog

0940f595a3fcb5986261f10a03ebf5020eb8c417 authored over 2 years ago by dbwinger <[email protected]>
Merge pull request #2274 from tvdeyen/allow-webp

Allow webp as image file format

f6cea5de5464d008f96762800330220a74bfb2f1 authored over 2 years ago by Thomas von Deyen <[email protected]>
Add webp as allowed image format

b6d22a855243dfb3f6e834ef60eb83a47f31507b authored over 2 years ago by Thomas von Deyen <[email protected]>
Register webp as mime type

Rails 6.1.5 does not have a image/webp mime type registered.

25cc942982d05171e1ae0990fcdf18e98b30ebfa authored over 2 years ago by Thomas von Deyen <[email protected]>
Bump version to v6.0.0-rc7

cc3c73b1a7bf11ad1c20b5625cbebed4ccba6d10 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2272 from tvdeyen/fix-sitemap-response

fix(Sitemap): Use response data

e88a3a503fd5205508eee08668295c5934a687ff authored over 2 years ago by Thomas von Deyen <[email protected]>
fix admin sitemap feature specs

Enable forgery protection so we have a csrf-token in the dom that our ajax lib
expects.

Also wa...

671ce46456746a239e6bb120655a0ea4105c96ae authored over 2 years ago by Thomas von Deyen <[email protected]>
fix(Sitemap): Use response data

Our ajax library returns the parsed json as response.data. The former was part of the fetch() ap...

c06197f69ee54e3e76a3ce1c298fa17c6374c6f0 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2271 from tvdeyen/revert-ajax-method-override

Revert "Ajax: Send method override"

28549449f26eb40baab513bd90d4b33db82171e3 authored over 2 years ago by Thomas von Deyen <[email protected]>
Merge pull request #2270 from tvdeyen/image-loader-error-handling

ImageLoader: Add error handling

1a046b0255f4ceb389a0747f091a5b94d2d32015 authored over 2 years ago by Thomas von Deyen <[email protected]>
Revert "Ajax: Send method override"

This reverts commit f183a5e3df4d83fdd977f49dcd3b9ac5361ef495.

0a832c41cd9207ad8c4dee63f393fc99ee52cfd0 authored over 2 years ago by Thomas von Deyen <[email protected]>
ImageLoader: Add error handling

We want to see why the image could not be loaded.

3efdce72ff53e52377f367c38c7301f25d8f1892 authored over 2 years ago by Thomas von Deyen <[email protected]>