-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fc] Repository: plone.portlet.static
Branch: refs/heads/master Date: 2024-01-01T18:30:21Z Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com> Commit: plone/plone.portlet.static@b4240dd [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pycqa/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2) - [github.com/psf/black: 23.11.0 → 23.12.1](psf/black@23.11.0...23.12.1) Files changed: M .pre-commit-config.yaml Repository: plone.portlet.static Branch: refs/heads/master Date: 2024-01-03T09:24:48+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.portlet.static@72e5fac Merge pull request #35 from plone/pre-commit-ci-update-config [pre-commit.ci] pre-commit autoupdate [city-skip] Files changed: M .pre-commit-config.yaml
- Loading branch information
Showing
1 changed file
with
19 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,38 @@ | ||
Repository: plone.app.content | ||
Repository: plone.portlet.static | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2023-11-22T16:21:39+01:00 | ||
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> | ||
Commit: https://github.com/plone/plone.app.content/commit/3889118a00c2922e5e857fb3b4ed7fb8afd52945 | ||
Date: 2024-01-01T18:30:21Z | ||
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||
Commit: https://github.com/plone/plone.portlet.static/commit/b4240dde14d0b7dc1b530d3204ca28fa4efeac0d | ||
|
||
Fix import of deprecated `plone.app.widgets` utils | ||
[pre-commit.ci] pre-commit autoupdate | ||
|
||
Files changed: | ||
M plone/app/content/browser/contents/properties.py | ||
M setup.py | ||
|
||
b'diff --git a/plone/app/content/browser/contents/properties.py b/plone/app/content/browser/contents/properties.py\nindex c51e8a7..515fd96 100644\n--- a/plone/app/content/browser/contents/properties.py\n+++ b/plone/app/content/browser/contents/properties.py\n@@ -2,7 +2,7 @@\n from plone.app.content.browser.contents import ContentsBaseAction\n from plone.app.content.interfaces import IStructureAction\n from plone.app.dexterity.behaviors.metadata import ICategorization\n-from plone.app.widgets.utils import get_datetime_options\n+from plone.app.z3cform.widgets.datetime import get_date_options\n from plone.base import PloneMessageFactory as _\n from plone.base.defaultpage import check_default_page_via_view\n from Products.CMFCore.interfaces._content import IFolderish\ndiff --git a/setup.py b/setup.py\nindex 6108b88..752523e 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -55,7 +55,6 @@\n "plone.app.querystring",\n "plone.app.uuid",\n "plone.app.vocabularies>4.1.2",\n- "plone.app.widgets",\n "plone.app.z3cform",\n "plone.autoform",\n "plone.base",\n' | ||
|
||
Repository: plone.app.content | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2023-11-22T16:21:39+01:00 | ||
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> | ||
Commit: https://github.com/plone/plone.app.content/commit/f3add121e1330f8c474993cf13250763a13fe577 | ||
|
||
changenote | ||
|
||
Files changed: | ||
A news/259.feature | ||
|
||
b'diff --git a/news/259.feature b/news/259.feature\nnew file mode 100644\nindex 00000000..b33bdba7\n--- /dev/null\n+++ b/news/259.feature\n@@ -0,0 +1,2 @@\n+Change import from deprecated ``plone.app.widgets`` to ``plone.app.z3cform``\n+[petschki]\n' | ||
|
||
Repository: plone.app.content | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2023-11-22T16:21:39+01:00 | ||
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> | ||
Commit: https://github.com/plone/plone.app.content/commit/ee01e0976dda897d63fd6939a996cab0f4ae60b9 | ||
|
||
fix renamed utility | ||
updates: | ||
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2) | ||
- [github.com/psf/black: 23.11.0 → 23.12.1](https://github.com/psf/black/compare/23.11.0...23.12.1) | ||
|
||
Files changed: | ||
M plone/app/content/browser/contents/properties.py | ||
M .pre-commit-config.yaml | ||
|
||
b'diff --git a/plone/app/content/browser/contents/properties.py b/plone/app/content/browser/contents/properties.py\nindex 515fd96..4cae70a 100644\n--- a/plone/app/content/browser/contents/properties.py\n+++ b/plone/app/content/browser/contents/properties.py\n@@ -38,7 +38,7 @@ def get_options(self):\n ),\n "template": self.template(\n vocabulary_url="%splone.app.vocabularies.Users" % (base_vocabulary),\n- pattern_options=json.dumps(get_datetime_options(self.request)),\n+ pattern_options=json.dumps(get_date_options(self.request)),\n ),\n "dataUrl": self.context.absolute_url() + "/@@fc-properties",\n },\n' | ||
b'diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml\nindex edaec49..c35f27e 100644\n--- a/.pre-commit-config.yaml\n+++ b/.pre-commit-config.yaml\n@@ -12,11 +12,11 @@ repos:\n - id: pyupgrade\n args: [--py38-plus]\n - repo: https://github.com/pycqa/isort\n- rev: 5.12.0\n+ rev: 5.13.2\n hooks:\n - id: isort\n - repo: https://github.com/psf/black\n- rev: 23.11.0\n+ rev: 23.12.1\n hooks:\n - id: black\n - repo: https://github.com/collective/zpretty\n' | ||
|
||
Repository: plone.app.content | ||
Repository: plone.portlet.static | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2023-12-22T22:49:15+01:00 | ||
Date: 2024-01-03T09:24:48+01:00 | ||
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> | ||
Commit: https://github.com/plone/plone.app.content/commit/fb3cd9dea6f0b79bae12eb684985da1ee1df1935 | ||
Commit: https://github.com/plone/plone.portlet.static/commit/72e5fac4674de84cd155bb6964f6acd7fcecd645 | ||
|
||
Merge pull request #259 from plone/deprecate-plone-app-widgets | ||
Merge pull request #35 from plone/pre-commit-ci-update-config | ||
|
||
Fix import of deprecated `plone.app.widgets` utility | ||
[pre-commit.ci] pre-commit autoupdate | ||
|
||
[city-skip] | ||
|
||
Files changed: | ||
A news/259.feature | ||
M plone/app/content/browser/contents/properties.py | ||
M setup.py | ||
M .pre-commit-config.yaml | ||
|
||
b'diff --git a/news/259.feature b/news/259.feature\nnew file mode 100644\nindex 00000000..b33bdba7\n--- /dev/null\n+++ b/news/259.feature\n@@ -0,0 +1,2 @@\n+Change import from deprecated ``plone.app.widgets`` to ``plone.app.z3cform``\n+[petschki]\ndiff --git a/plone/app/content/browser/contents/properties.py b/plone/app/content/browser/contents/properties.py\nindex c51e8a70..4cae70a7 100644\n--- a/plone/app/content/browser/contents/properties.py\n+++ b/plone/app/content/browser/contents/properties.py\n@@ -2,7 +2,7 @@\n from plone.app.content.browser.contents import ContentsBaseAction\n from plone.app.content.interfaces import IStructureAction\n from plone.app.dexterity.behaviors.metadata import ICategorization\n-from plone.app.widgets.utils import get_datetime_options\n+from plone.app.z3cform.widgets.datetime import get_date_options\n from plone.base import PloneMessageFactory as _\n from plone.base.defaultpage import check_default_page_via_view\n from Products.CMFCore.interfaces._content import IFolderish\n@@ -38,7 +38,7 @@ def get_options(self):\n ),\n "template": self.template(\n vocabulary_url="%splone.app.vocabularies.Users" % (base_vocabulary),\n- pattern_options=json.dumps(get_datetime_options(self.request)),\n+ pattern_options=json.dumps(get_date_options(self.request)),\n ),\n "dataUrl": self.context.absolute_url() + "/@@fc-properties",\n },\ndiff --git a/setup.py b/setup.py\nindex 6108b883..752523eb 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -55,7 +55,6 @@\n "plone.app.querystring",\n "plone.app.uuid",\n "plone.app.vocabularies>4.1.2",\n- "plone.app.widgets",\n "plone.app.z3cform",\n "plone.autoform",\n "plone.base",\n' | ||
b'diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml\nindex edaec49..c35f27e 100644\n--- a/.pre-commit-config.yaml\n+++ b/.pre-commit-config.yaml\n@@ -12,11 +12,11 @@ repos:\n - id: pyupgrade\n args: [--py38-plus]\n - repo: https://github.com/pycqa/isort\n- rev: 5.12.0\n+ rev: 5.13.2\n hooks:\n - id: isort\n - repo: https://github.com/psf/black\n- rev: 23.11.0\n+ rev: 23.12.1\n hooks:\n - id: black\n - repo: https://github.com/collective/zpretty\n' | ||
|