Skip to content

repuller la base - #2

Open
billybones79 wants to merge 1474 commits into
billybones79:tryfrom
AlchemyCMS:master
Open

repuller la base#2
billybones79 wants to merge 1474 commits into
billybones79:tryfrom
AlchemyCMS:master

Conversation

@billybones79

Copy link
Copy Markdown
Owner

No description provided.

tvdeyen and others added 30 commits March 18, 2020 22:40
To not use a String to constantize anymore.
This module is only used in Capistrano-Alchemy, where it has been
included in AlchemyCMS/capistrano-alchemy#17.
These tasks were only necessary for the capistrano-alchemy gem, which
now can do this without Alchemy's direct help.
The "scaffold" generator has been renamed to "install".
Remove references to nonexistent "scaffold" generator
We want to programmatically specify which menu names are allowed through
a YML file. This method makes the contents of this YML file available to
the app.
This adds a sample menus.yml to the install generator.
This allows us to use the same partial for multi-language sites.
The name field on root nodes is not meant to be human-readable, but
rather translated.
Add alchemy.test to development domains
This is the simplest serializer for a node.
This moves an node to a specified parent and a specified position.
This is a nice sorting library that works with trees.
This commit allows sorting of menus. We instantiate for each element in
the tree one instance of Sortable.js, but - through the `group` option
- allow dragging and dropping between each element. For this to work,
  all `ul` elements need to be present (otherwise we cannot drop a node
below a list that does not have nodes yet).

A little tricky was the correct behaviour of the `folded` button: It
should only be displayed if there are any pages to fold. This is now
accomplished through rendering the `+` and `-` buttons in Javascript,
depending on how many elements are in each list after sorting.

Additionally: The full node tree is now rendered on page load, and all
manipulations manipulate the DOM. There are no nodes being inserted or
deleted through sorting or folding.
I had to reimplement jQuery.on for this to work.
We'll need to use this elsewhere.
Now it also returns a bit of JSON about the toggled node.
tvdeyen and others added 29 commits July 17, 2020 14:46
With the Attachment.url_class it is a extension point for alternativ url classes (ie. for remote URLs from S3)
Persist rendered picture variants
* Move back to Travis CI

This reverts commit 411fc9d.

* Update codeclimate_test_reporter in travis.yml

* Remove warnings from travis.yml

* Update travis build matrix

This with all supported Ruby and Rails versions

* Set up travis jobs for rspec and jest specs

* Skip coverage upload for Jest specs

It is not trivial to merge the coverage with the RSpec coverage. Since we do not have much Jest specs yet, it is not worth it in the moment.

* Adjust rails generators coverage filter

We do not test generators and after we moved the generators out of the lib/rails folder we need to adjust the filter.
* Fix locked page tab language code alignment

* Fix height of error page
* Remove usage of deprecated toolbar helper

* Remove deprecated toolbar helper

Use `content_for :toolbar` and the `toolbar_button` helper instead.
As JPG and JPEG are technically the same image we must not convert them.
* Remove redirect_to_public_child flag and feature

This has been deprecated in 5.0 and is not supported anymore.

* Include locale redirect modules in pages controller

Now that we do not have to take care of the public child redirect anymore we can move the rather simple logic into the controller again.
If an app mounts Alchemy at a non-root path we need to return that as prefix.

Closes #1918
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Webpacker needs Node >= 10.17. Let's use the current LTS version of Node
We need to reset the page when ever we search, because the result set will be much smaller so pagination needs to be resetted.
* Update config.yml

* Update config.yml

* Update config.yml

* fix spacin in comment

* fix urls in documentation
Instead of only using the alt_tag attribute of the essence picture 
this now supports passing the alt attribute via the html_options 
and adds a fallback to a humanized picture name.

This ensures we always have an alt text for accessibility reasons.
Booleans should have two possible values. This is unproblematic for
every Boolean except for the EssenceBoolean "value", where the default
depends on whatever the user wants.
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
If no size is selected, database value should be unset to give layout/settings size priority again
Sizes can be used standalone or as part of srcset. If used for srcset standalone sizes selection has to be disabled as the data is incompatible
Useful eg for custom picture tag creation
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
@tvdeyen
tvdeyen deleted the master branch January 26, 2021 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants