Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plone 5.1 support. #111

Closed
wants to merge 189 commits into from
Closed

Add plone 5.1 support. #111

wants to merge 189 commits into from

Conversation

busykoala
Copy link
Contributor

@busykoala busykoala commented Nov 7, 2019

TODO:

  • add icons to tinymce (in the ftw.book plugins)
  • make sure to fix or remove upgrade step (i.e. propertiestool.xml...)
  • fix tests

Close https://github.com/4teamwork/izug.organisation/issues/1514

This is the branch #103 where the master was merged into. Therefore we can close #103 as soon as this one is going to be more stable.

The test makes sure that ftw.book's htmlblock works outside of a book.
As we are replacing the htmlblock with ftw.htmlblock, it is no longer
our job to ensure that it works outside of books.
This helps so that we can keep the old stuff while rewriting to the new
dexterity implementation.
This next / previous implementation does not work with the new dexterity
types.
I also believe that we do not use that.
I had to refactor the very old upgrade steps to no longer define upgrade
step groups as the upgrade step directory directive fails when detecting
the oldest version when the profile has upgrades which are grouped.
content => old AT types
contents => new DX types (and convention)
Since the ftw.contenpage based tests are not yet removed we need to
install ftw.contentpage's tests extras in order to not have errors
because splinter testing is not available.
For loading this ZCML we need to import from ftw.book.tests, which now
imports a lot of testing stuff which is not available.
Therefore we can no longer support that.
Matthias Osswald and others added 24 commits October 29, 2019 11:00
This change is necessary to remove the sizes from propertiestool.xml.
Since these sizes are from simplelayout they should not be in ftw.book
The buttons have to be reimplemented while TinyMCE comes
with plone anyway.
In Plone 5 types must be whitelisted instead of blacklisted like
in Plone 4.
This watcher triggers a shell command recooking the files whenever anything changes in resources.
Otherwise the command has to be executed manually everytime one wants to see the effect in a running instance.
@busykoala busykoala self-assigned this Nov 7, 2019
@busykoala
Copy link
Contributor Author

@jone, could you please:

  • look for things I merged wrong
  • share your opinion whether I should remove or improve the upgrade step

@busykoala busykoala mentioned this pull request Nov 8, 2019
Copy link
Member

@jone jone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of changes in this branch that are already in master, but in different commits. So this branch needs to be rebased onto master. @busykoala could you do that?
I suggest:

git fetch
git rebase a095f9e^ --onto origin/master

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
files: ['Gruntfile.js', 'ftw/**/*.js', 'ftw/**/*.css', 'ftw/**/*.scss'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@busykoala we have this problem in general in development, right? Should we find a general solution, e.g. a local tool?

@@ -10,6 +10,8 @@ Changelog
- Remove "Type" column from listing block table in PDF. [jone]
- Fix navigation and search settings for new DX types. [jone]
- Fix chapter's title translation. [jone]
- Add Plone 5 support. [busykoala]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ftw.book 4.0.2 is already released, do you need to rebase again?

@busykoala
Copy link
Contributor Author

I close this in favour of #112

@busykoala busykoala closed this Nov 12, 2019
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.

None yet

2 participants