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
This helps keep the duplication down.
dbcfd938188d50627ad2d8090207a6cd0381a921 authored over 2 years ago by Martin Meyerhoff <[email protected]>This spec mocked many things unnecessarily.
78f22772542867d6a10a03313175961c0fde21a5 authored over 2 years ago by Martin Meyerhoff <[email protected]>
Here, we need to preload the draft version because that's what we look
at.
Note that we're only preloading the public version here.
d556574a19b2c6293311c4ba6d178722afced12c authored over 2 years ago by Martin Meyerhoff <[email protected]>
We need to preload a bit of stuff to publish a page, notably all the
elements, ingredients, and ...
Passing an page "object" here through `GlobalID` and then reloading will
lead to double page loads.
It's not great to eager load stuff at the model level. In case a
previous user of the data has p...
76cd6d8fc46c09330b331103a950ce6838c85db5 authored over 2 years ago by Thomas von Deyen <[email protected]>
04ac4b7ffa3e50283b4bfb519ce57323722cecd9 authored over 2 years ago by Thomas von Deyen <[email protected]>
Deprecate Alchemy::Element.available
4773be547cad06acd81553a907114fb4a0f78daa authored over 2 years ago by Thomas von Deyen <[email protected]>
There were some usages in relations that I replaced with the synonym
`published`. In the `Elemen...
This is just an alias to "published", which in turn is an alias for
`where(public: true)`. In mo...
Allow passing a different partial to `render_element`
72f6353c590b10e2565f0d6f728bb8ebbafcc354 authored over 2 years ago by Thomas von Deyen <[email protected]>
This is useful when rendering elements on a different page than the one
they are on, for example...
Raise on non-existing locale
443ee332fbbaad3cd232684a02cb8d4c1cae69c1 authored over 2 years ago by Thomas von Deyen <[email protected]>Allow render_elements to take a block
18f3bac337b274c51f4756da1c3e5733c48bd13e authored over 2 years ago by Thomas von Deyen <[email protected]>Remove old unused root_page ivar
43ff26e803f284867af106154248090879bf09aa authored over 2 years ago by Thomas von Deyen <[email protected]>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]>c14f65d8f1f92a010498d7e3822af9414b6347e8 authored over 2 years ago by Martin Meyerhoff <[email protected]>
If a locale parameter is given, we want to give a good error and not
render the default locale.
This ivar was necessary for the render_navigation helper,
which has been removed in 5.0
chore: Remove unnecessary puts from spec
af92c9056c4493bc95a7293f31d02143e780755c authored over 2 years ago by Thomas von Deyen <[email protected]>6158f37a43d0e3e67b74e34db9a14dff1a0519aa authored over 2 years ago by Thomas von Deyen <[email protected]>
Refactor: Use page version's element repository rather than a new one
756064cf9032e10c8dd6013385dfba0982956636 authored over 2 years ago by Thomas von Deyen <[email protected]>Fix gif resizing
d07f74ec9065b6bacfd5fb474fd604250e014855 authored over 2 years ago by Thomas von Deyen <[email protected]>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]>
The `PageVersion` model offers us a repository we can use, so let's go
with that.
Explicitly set "store" for MariaDB
d2aa242b928417784743347c6a55c6361c2afd29 authored over 2 years ago by Thomas von Deyen <[email protected]>
MariaDB does not have a native "JSON(B)" type, and thus rails does not
know that the `alchemy_in...
Set preview mode earlier
93c850f63279b435f17a3cea3c210d315e0e6b55 authored over 2 years ago by Thomas von Deyen <[email protected]>Fix updating the public_on date on persisted pages
d1fec7c63d4e65fbab8a7caa254237f06dc2ed83 authored over 2 years ago by Thomas von Deyen <[email protected]>
It's useful to have not just the page, but also the page version
available in `OnPageLayout` cal...
When running `OnPageLayout` callbacks, it's probably wise to have
`@version` available for choos...
dc66ce336809b7cfd61526cd163008a8f8c72abf authored over 2 years ago by dbwinger <[email protected]>
When updating a page's `public_on` date, we need to save the associated
public page as well. Thi...
Restrict Node select to the site/language of the page being edited
40abf671a7a8fed5b5ab278ebef0c36364c9f371 authored over 2 years ago by Thomas von Deyen <[email protected]>efa4dd33e4b0497136784c5b930819d05f3893b5 authored over 2 years ago by Thomas von Deyen <[email protected]>
Allow pasting into parent element with only one nested element type
9982f07d18f6bc4390f0dccb490bd1e157a0adc1 authored over 2 years ago by Thomas von Deyen <[email protected]>Allow opting out of Turbolinks in non-Alchemy controllers
4fba9393113a79004da739d6c8dc62586d0589fd authored over 2 years ago by Thomas von Deyen <[email protected]>Add Ruby 3.1 support
33526e6485fafd40baece0cd64e796729b17ca3d authored over 2 years ago by Thomas von Deyen <[email protected]>7eddb7cebe3195f781366387d12d32825211dfb5 authored over 2 years ago by dbwinger <[email protected]>
Explicitly validate uniqueness without case sensitivity
d348060f6804dc4ff55f20611b706aa89152547a authored over 2 years ago by Thomas von Deyen <[email protected]>
In Rails 6.1, the default behavior of the uniqueness validator changed
from case-sensitive to ca...
Fix frozen string error when mixing template engines
f83cbd6679475ed50a3cae8c28d67be0af6a1e8a authored over 2 years ago by Thomas von Deyen <[email protected]>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]>95b3d39431af21220fa02aa1ed89fcfc28a97f36 authored over 2 years ago by dbwinger <[email protected]>
* allows an application to opt out of Turbolinks in
non-Alchemy controllers
Do not flatten gifs if converted to webp
12e8a4fe9035aeff330b19a03e51b3ca66b4c9c2 authored over 2 years ago by Thomas von Deyen <[email protected]>
WebP can also be animated. So, we should not flatten GIFs,
if we convert them to WebP.
6391ac94b618a6d4cc30bdf724c1bc652c1dcc66 authored over 2 years ago by Thomas von Deyen <[email protected]>
d3d6f7e50694080fe859b8e335e2330bf6bdb26c authored over 2 years ago by Thomas von Deyen <[email protected]>
0b8e4db22df6d545b02621d5e639446e0390b575 authored over 2 years ago by dbwinger <[email protected]>
Rails 6.0 does not have support for Ruby 3.1
773a63abc1e28cc1ebd73198c4dd505957a9d398 authored over 2 years ago by Thomas von Deyen <[email protected]>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]>6820a519127ecb8238f00b100e60b704b33ec322 authored over 2 years ago by Thomas von Deyen <[email protected]>
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]>74287136e4f633d5cd5cdfd3b7c44a9b7bf5a2c3 authored over 2 years ago by Thomas von Deyen <[email protected]>
Ruby 3.1 has removed the old deprecated
positional arguments of YAML.safe_load
Necessary until https://github.com/mikel/mail/pull/1439 got merged.
6cb20982ad30ecac4ffbeb03b598a2822863137f authored over 2 years ago by Thomas von Deyen <[email protected]>d5c1d2533cc04fa5eef274e94bab1581df5e6d6b authored over 2 years ago by dbwinger <[email protected]>
f438ab231d033815aa5a726d6c95ae1eb5c92d92 authored over 2 years ago by Thomas von Deyen <[email protected]>
Rails 7 Support
26eacf8ba6c0aa91ffe52ca089ad3ea02ed0c3b3 authored over 2 years ago by Thomas von Deyen <[email protected]>Don't hardcode URLs in Javascript
469301bdcf5c8d5bbf0f213b8fd0aeee69233447 authored over 2 years ago by Thomas von Deyen <[email protected]>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]>This spec needs to be adopted to latest Rails versions.
63d98d468e59486da99721064f97373b722712d3 authored over 2 years ago by Thomas von Deyen <[email protected]>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]>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]>Rails 7 does not autoload constants during boot anymore.
75c7316d682b35e48ffe042102de59140a46674a authored over 2 years ago by Thomas von Deyen <[email protected]>760b1d423bd1710d57ae569c07dbcddc34961d50 authored over 2 years ago by Thomas von Deyen <[email protected]>
Now that the userclass will be set in a config.to_prepare
block in apps we need to run this code...
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]>b507a4f5282e6a52109030491b5bdde524f7de66 authored over 2 years ago by Thomas von Deyen <[email protected]>
[ruby - main] Allow ransack version 3.0.1
f218a3de62af4c2000999ec4102fc8c6736a742c authored over 2 years ago by Thomas von Deyen <[email protected]>5a60ef46110e153037f3ced49a71cf9b2abbdb17 authored over 2 years ago by Thomas von Deyen <[email protected]>
0d34aff310dc5f6975eed876da0a0479663f884a authored over 2 years ago by depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Fix image loader
605b8ee52b3dd95857677ffa54f7422758ad3b5c authored over 2 years ago by Thomas von Deyen <[email protected]>
Instead of a DOM string we use a new Image instance.
That way Firefox and Safari recognize it as...
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]>
Add a error class to the icon, so we can style it.
Also update log message of the `image.src` if...
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]>.
bc2c025b1f98d14b8659fd8cdf137c0f1917d3f5 authored over 2 years ago by dbwinger <[email protected]>f7e995fe14532dd1b62983dff8f36aad32ac3d31 authored over 2 years ago by Daniel Sjöblom <[email protected]>
Support AR enums in resource models
a4397f210200f0f407e0f9ee9b10da276fb2eb27 authored over 2 years ago by Thomas von Deyen <[email protected]>Show site and language name on page select in Link dialog
26bf596a0e7ee81a29a4b39694f5ab7389940ec0 authored over 2 years ago by Thomas von Deyen <[email protected]>[ruby - main] Allow ransack 3.0.0
4e1e12ef67eee9502a5470fdb1b01984bca066f5 authored over 2 years ago by Thomas von Deyen <[email protected]>79384acb8d1a0d9000a30588b6deb10912ef33f6 authored over 2 years ago by depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
translate enum values using I18n
```
activerecord:
attributes:
modelname:
enumname:...
828092f19a0956af66ec27fdc8ba7080cdfa4269 authored over 2 years ago by dbwinger <[email protected]>
0940f595a3fcb5986261f10a03ebf5020eb8c417 authored over 2 years ago by dbwinger <[email protected]>
Allow webp as image file format
f6cea5de5464d008f96762800330220a74bfb2f1 authored over 2 years ago by Thomas von Deyen <[email protected]>b6d22a855243dfb3f6e834ef60eb83a47f31507b authored over 2 years ago by Thomas von Deyen <[email protected]>
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]>cc3c73b1a7bf11ad1c20b5625cbebed4ccba6d10 authored over 2 years ago by Thomas von Deyen <[email protected]>
fix(Sitemap): Use response data
e88a3a503fd5205508eee08668295c5934a687ff authored over 2 years ago by Thomas von Deyen <[email protected]>
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]>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]>Revert "Ajax: Send method override"
28549449f26eb40baab513bd90d4b33db82171e3 authored over 2 years ago by Thomas von Deyen <[email protected]>ImageLoader: Add error handling
1a046b0255f4ceb389a0747f091a5b94d2d32015 authored over 2 years ago by Thomas von Deyen <[email protected]>This reverts commit f183a5e3df4d83fdd977f49dcd3b9ac5361ef495.
0a832c41cd9207ad8c4dee63f393fc99ee52cfd0 authored over 2 years ago by Thomas von Deyen <[email protected]>We want to see why the image could not be loaded.
3efdce72ff53e52377f367c38c7301f25d8f1892 authored over 2 years ago by Thomas von Deyen <[email protected]>