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

Set timezone in bin/test. #701

Merged
merged 1 commit into from
Feb 7, 2021
Merged

Set timezone in bin/test. #701

merged 1 commit into from
Feb 7, 2021

Conversation

mauritsvanrees
Copy link
Member

Calling time.tzset is needed on Python 3.8,
otherwise the TZ environment variable that we add has no effect.
See discussion starting with this comment:
#693 (comment)

Calling time.tzset is needed on Python 3.8,
otherwise the TZ environment variable that we add has no effect.
See discussion starting with this comment:
#693 (comment)
@mauritsvanrees
Copy link
Member Author

@jenkins-plone-org please run jobs

And I will start the 3.8 job manually.

@jensens jensens merged commit 95dca2f into 5.2 Feb 7, 2021
wesleybl added a commit to plone/plone.restapi that referenced this pull request Aug 14, 2021
TZ = UTC

In Python 3.8, for the TZ environment variable to be recognized, you
need to call time.tzset()

Ref: plone/buildout.coredev#701
wesleybl added a commit to plone/plone.restapi that referenced this pull request Aug 16, 2021
TZ = UTC

In Python 3.8, for the TZ environment variable to be recognized, you
need to call time.tzset()

Ref: plone/buildout.coredev#701
tisto pushed a commit to plone/plone.restapi that referenced this pull request Aug 31, 2021
…se (#1195)

TZ = UTC

In Python 3.8, for the TZ environment variable to be recognized, you
need to call time.tzset()

Ref: plone/buildout.coredev#701
mister-roboto pushed a commit that referenced this pull request Aug 31, 2021
Branch: refs/heads/master
Date: 2021-08-31T21:47:46+02:00
Author: Wesley Barroso Lopes (wesleybl) <wesleybl@gmail.com>
Commit: plone/plone.restapi@b96f3df

Fix tests that involving dates in Python 3.8 on machines that don't use (#1195)

TZ = UTC

In Python 3.8, for the TZ environment variable to be recognized, you
need to call time.tzset()

Ref: #701

Files changed:
M base.cfg
wesleybl added a commit to plone/plone.restapi that referenced this pull request Sep 1, 2021
…se (#1195)

TZ = UTC

In Python 3.8, for the TZ environment variable to be recognized, you
need to call time.tzset()

Ref: plone/buildout.coredev#701
tisto pushed a commit to plone/plone.restapi that referenced this pull request Sep 2, 2021
…se (#1195) (#1213)

TZ = UTC

In Python 3.8, for the TZ environment variable to be recognized, you
need to call time.tzset()

Ref: plone/buildout.coredev#701
mister-roboto pushed a commit that referenced this pull request Sep 2, 2021
Branch: refs/heads/7.x.x
Date: 2021-09-02T08:03:32+02:00
Author: Wesley Barroso Lopes (wesleybl) <wesleybl@gmail.com>
Commit: plone/plone.restapi@9ee7599

Fix tests that involving dates in Python 3.8 on machines that don't use (#1195) (#1213)

TZ = UTC

In Python 3.8, for the TZ environment variable to be recognized, you
need to call time.tzset()

Ref: #701

Files changed:
M base.cfg
@jensens jensens deleted the maurits/tzset branch January 13, 2022 21:31
mister-roboto pushed a commit that referenced this pull request Oct 21, 2024
Branch: refs/heads/master
Date: 2024-09-25T19:02:36+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@e5004cf

Add alt_text field to image content type

Files changed:
A news/700.feature
M plone/app/contenttypes/browser/templates/image.pt
M plone/app/contenttypes/schema/image.xml
M plone/app/contenttypes/tests/test_image.py
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-26T09:57:50+02:00
Author: jackahl (jackahl) <44289551+jackahl@users.noreply.github.com>
Commit: plone/plone.app.contenttypes@c98e576

Fix typo in image type alt field description

Co-authored-by: David Glick &lt;david@glicksoftware.com&gt;

Files changed:
M plone/app/contenttypes/schema/image.xml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-26T11:09:33+02:00
Author: Érico Andrei (ericof) <ericof@gmail.com>
Commit: plone/plone.app.contenttypes@8a14bd3

Setup local installation

Files changed:
A Makefile
A constraints.txt
A instance.yaml
A mx.ini
A news/+setup.internal
A requirements.txt
M .gitignore
M .meta.toml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-26T11:20:07+02:00
Author: Érico Andrei (ericof) <ericof@gmail.com>
Commit: plone/plone.app.contenttypes@f540988

Fix MANIFEST.in

Files changed:
M MANIFEST.in
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-26T13:11:45+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@f70879b

set install as default command in makefile

Files changed:
M Makefile
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-26T13:12:46+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@3f215dc

Merge branch 'setup-standalone-installation' into add-image-alt-tag

Files changed:
A Makefile
A constraints.txt
A instance.yaml
A mx.ini
A news/+setup.internal
A requirements.txt
M .gitignore
M .meta.toml
M MANIFEST.in
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-27T13:35:28+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@c95678e

formatting

Files changed:
M plone/app/contenttypes/browser/templates/image.pt
M plone/app/contenttypes/schema/image.xml
M plone/app/contenttypes/tests/test_image.py
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-27T16:43:45+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@6ffeaff

fix test for alt text in image templates

Files changed:
M plone/app/contenttypes/tests/test_image.py
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-09-27T16:44:15+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@cb58563

Merge branch 'add-image-alt-tag' of github.com:plone/plone.app.contenttypes into add-image-alt-tag

Files changed:
M plone/app/contenttypes/schema/image.xml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-01T12:54:18+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@0a3fb93

include alt_tag in listing templates as well

Files changed:
M plone/app/contenttypes/browser/templates/listing.pt
M plone/app/contenttypes/browser/templates/listing_album.pt
M plone/app/contenttypes/browser/templates/listing_summary.pt
M plone/app/contenttypes/browser/templates/listing_tabular.pt
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-01T12:55:32+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@6a4cce5

remove test for svg image alt

Files changed:
M plone/app/contenttypes/tests/test_image.py
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-01T16:41:03+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@9a8e282

add alt_text indexer

Files changed:
M plone/app/contenttypes/indexers.py
M plone/app/contenttypes/indexers.zcml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-01T17:25:41+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@f0b02e2

add upgrade_step for alt_field

Files changed:
M plone/app/contenttypes/profiles/default/metadata.xml
M plone/app/contenttypes/profiles/default/types.xml
M plone/app/contenttypes/upgrades.zcml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-02T11:09:58+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@3ae8f74

Revert "add upgrade_step for alt_field"

This reverts commit f0b02e2a21ec2c2921c353309f4b372bed74cc29.

Files changed:
M plone/app/contenttypes/profiles/default/metadata.xml
M plone/app/contenttypes/profiles/default/types.xml
M plone/app/contenttypes/upgrades.zcml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-02T11:41:31+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@55faeec

onyl try to retrieve alt_text in listing template if applicable

Files changed:
M plone/app/contenttypes/browser/templates/listing.pt
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-02T15:23:36+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@1fe65fc

fix for crash on album view

Files changed:
M plone/app/contenttypes/browser/templates/listing_album.pt
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-02T16:32:43+02:00
Author: jackahl (jackahl) <kahl@kitconcept.com>
Commit: plone/plone.app.contenttypes@d4c998d

prevent potential errors on tabular and summary views due to alt images

Files changed:
M plone/app/contenttypes/browser/templates/listing_summary.pt
M plone/app/contenttypes/browser/templates/listing_tabular.pt
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-09T14:56:14+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.contenttypes@1cae6fe

Merge branch 'master' into add-image-alt-tag

Files changed:
M .pre-commit-config.yaml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-21T11:56:30+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.contenttypes@c6594ec

Merge branch 'master' into add-image-alt-tag

Files changed:
A news/698.tests
A plone/app/contenttypes/tests/robot/keywords.robot
M plone/app/contenttypes/tests/robot/test_collection_creator_criterion.robot
M plone/app/contenttypes/tests/robot/test_collection_location_criterion.robot
M plone/app/contenttypes/tests/robot/test_collection_review_state_criterion.robot
M plone/app/contenttypes/tests/robot/test_collection_short_name_criterion.robot
M plone/app/contenttypes/tests/robot/test_collection_type_criterion.robot
M plone/app/contenttypes/tests/robot/test_folderlisting.robot
D plone/app/contenttypes/tests/robot/keywords.txt
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-21T11:58:19+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.contenttypes@eec97df

image schema: move new alt_text field after the image field.

The git diff shows this as a move of the image field above the alt_text field, which boils down to the same thing. ;-)

Files changed:
M plone/app/contenttypes/schema/image.xml
Repository: plone.app.contenttypes

Branch: refs/heads/master
Date: 2024-10-21T18:27:34+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@py76.be>
Commit: plone/plone.app.contenttypes@6230bd4

Merge pull request #701 from plone/add-image-alt-tag

Add alt_text field to image content type

Files changed:
A Makefile
A constraints.txt
A instance.yaml
A mx.ini
A news/+setup.internal
A news/700.feature
A requirements.txt
M .gitignore
M .meta.toml
M MANIFEST.in
M plone/app/contenttypes/browser/templates/image.pt
M plone/app/contenttypes/browser/templates/listing.pt
M plone/app/contenttypes/browser/templates/listing_album.pt
M plone/app/contenttypes/browser/templates/listing_summary.pt
M plone/app/contenttypes/browser/templates/listing_tabular.pt
M plone/app/contenttypes/indexers.py
M plone/app/contenttypes/indexers.zcml
M plone/app/contenttypes/schema/image.xml
M plone/app/contenttypes/tests/test_image.py
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.

2 participants