Commit Graph

2134 Commits

Author SHA1 Message Date
Maurits van Rees
a2a466199c
Back to development: 4.0.1
[ci skip]
2022-11-11 00:30:32 +01:00
Maurits van Rees
ee2d81d9fd
Preparing release 4.0.0
[ci skip]
2022-11-11 00:23:30 +01:00
Maurits van Rees
9d0cc0425d
Added Python 3.11 to classifiers in setup.py.
[ci skip]
2022-11-11 00:23:08 +01:00
David Glick
c73a50d1d8
Merge pull request #204 from plone/set_timezone
Set timezone for creation and modification dates of comments
2022-10-24 15:38:11 -07:00
Jon Pentland
aa38be3ac2 Use correct date when indexing. Update comment indexes to use America/Los_Angeles 2022-10-24 23:43:35 +02:00
Jon Pentland
c5f17dc5e8 Bump version for linked plone.restapi test_statictime version check 2022-10-24 22:44:57 +02:00
Jon Pentland
a3818a4743 Update changelog 2022-10-24 22:10:39 +02:00
Jon Pentland
a95e67bcae Use py3 super syntax 2022-10-24 22:10:26 +02:00
Jon Pentland
ab92def1a6 Use plone.app.event.base.DT to convert datetime -> DateTime 2022-10-24 22:10:12 +02:00
Jon Pentland
a069f49719 Change timezone to America/Los_Angeles to expose DateTime exceptions 2022-10-24 22:09:49 +02:00
Jon Pentland
2380bdacb3 black/flake8 2022-10-23 10:35:27 +02:00
Jon Pentland
0d643964a2 Don't convert time when adding timezone in getter. Refactor time comparison in tests to correct direction (avoid comparing against negative deltas) 2022-10-23 10:24:59 +02:00
Jon Pentland
2df8ff4ea7 Try reindexing comment and increasing delta (in case of slow test causing failure) 2022-10-22 13:13:20 +02:00
Jon Pentland
35b11a0120 Prevent test failures when converting to timezone 2022-10-22 12:16:14 +02:00
Jon Pentland
194f2d9f76 Use configured portal timezone in tests 2022-10-22 11:48:10 +02:00
Jon Pentland
b28d6d1f91 Don't set the server timezone, seems to break other tests 2022-10-21 18:12:08 +02:00
Jon Pentland
9944796627 Fix timezone tests 2022-10-21 17:11:19 +02:00
Jon Pentland
f0cd076fd7 Update test_indexers to account for local timezones. Test across daylight savings bounds. 2022-10-21 15:20:32 +02:00
Jon Pentland
c70abe2b63 Create a test for the custom getter to ensure timezones are being added 2022-10-21 15:19:27 +02:00
Jon Pentland
2506286c43 Create custom __getattribute__ method to return timezone aware dates from older Comment objects 2022-10-21 15:18:09 +02:00
Jon Pentland
103bd894d9 Use correct timezone when indexing comments 2022-10-21 15:17:34 +02:00
Jon Pentland
fd1cfa8cad Use local timezone when setting dates 2022-10-21 15:16:58 +02:00
Jon Pentland
45ef9a51c4 Fix syntax errors 2022-10-18 16:56:05 +02:00
Jon Pentland
d6bbff89c7 update conversation tests 2022-10-18 16:40:30 +02:00
Jon Pentland
f1b753d088 Update tests 2022-10-18 16:33:08 +02:00
Jon Pentland
9f34a7f10d Add changelog 2022-10-18 16:17:30 +02:00
Jon Pentland
42e5238622 Update tests 2022-10-18 16:17:17 +02:00
Jon Pentland
16123e268b Set timezone for creation and modification dates of comments 2022-10-18 16:06:24 +02:00
Maurits van Rees
dd0255fd5d
Back to development: 4.0.0b4
[ci skip]
2022-10-11 22:54:47 +02:00
Maurits van Rees
2ff0481e09
Preparing release 4.0.0b3
[ci skip]
2022-10-11 22:53:30 +02:00
Maurits van Rees
3ba59b0275
Added news snippet.
[ci skip]
2022-10-11 22:53:14 +02:00
David Glick
3f8f647e03
Fix password used in tests 2022-10-05 20:49:42 +02:00
Maurits van Rees
7a23fd9ad0
Back to development: 4.0.0b3
[ci skip]
2022-09-30 16:12:00 +02:00
Maurits van Rees
f83c5e8e8d
Preparing release 4.0.0b2
[ci skip]
2022-09-30 16:11:35 +02:00
Maurits van Rees
288c090744
Fixed news snippet.
[ci skip]
2022-09-30 16:11:20 +02:00
Maurits van Rees
4b96e0f480
Update wildly outdated information in the readme.
[ci skip]
2022-09-30 16:10:34 +02:00
Maurits van Rees
f9536d5f3d
Update classifiers.
[ci skip]
2022-09-30 16:02:50 +02:00
Maurits van Rees
9252de84de
Merge pull request #203 from plone/pw-length
Use longer passwords for tests
2022-09-19 11:15:30 +02:00
David Glick
cf68b9ece0
missed file 2022-09-18 20:46:04 -07:00
David Glick
d7c5d271c4
changelog 2022-09-18 19:31:09 -07:00
David Glick
8a64e85435
Use longer passwords for tests 2022-09-18 19:30:04 -07:00
Maurits van Rees
2084eb091d
Back to development: 4.0.0b2
[ci skip]
2022-06-23 21:05:52 +02:00
Maurits van Rees
4959d6ae21
Preparing release 4.0.0b1
[ci skip]
2022-06-23 21:05:12 +02:00
Maurits van Rees
bccfc55f49
No universal wheel: Py 3 only.
[ci skip]
2022-06-23 21:04:41 +02:00
Maurits van Rees
3cc1efa8a8
Merge pull request #202 from plone/maurits-normalize-gettext-tests
Test-only fix: normalize white space when comparing output of getText
2022-06-10 15:41:00 +02:00
Maurits van Rees
266d87b3b9
Test-only fix: normalize white space when comparing output of comment.getText().
Needed to not fail with newer `plone.outputfilters` from this PR: https://github.com/plone/plone.outputfilters/pull/49
Comments go through the outputfilters, and the new branch calls `soup.prettify()` from `Beautifulsoup`, leading to more white space.
Sample test failures on Jenkins, see https://jenkins.plone.org/job/plip-plip-image-srcsets-3.8/5/#showFailuresLink

```
'<p>\n Go to http://www.plone.org\n</p>' != '<p>Go to http://www.plone.org</p>'
- <p>
-  Go to http://www.plone.org
? ^                          ^
+ <p>Go to http://www.plone.org</p>? ^^^                          ^^^^
- </p>

  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/jenkins/.buildout/eggs/cp38/plone.app.discussion-4.0.0a7-py3.8.egg/plone/app/discussion/tests/test_comment.py", line 180, in test_getText_doesnt_link
    self.assertEqual(
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 753, in fail
    raise self.failureException(msg)
```
2022-06-10 13:50:16 +02:00
Maurits van Rees
93f92fadcd
Back to development: 4.0.0a8
[ci skip]
2022-05-14 11:57:11 +02:00
Maurits van Rees
64bfc01b71
Preparing release 4.0.0a7
[ci skip]
2022-05-14 11:56:23 +02:00
Jens W. Klein
0439e9ea24
Merge pull request #200 from plone/maurits-site-administrators-master
Grant Site Administrators same workflow permissions as Managers [master]
2022-05-11 01:51:34 +02:00
Maurits van Rees
1ea81e4a90
Increase metadata version to 2000.
We need to leave some room for another upgrade step in Plone 5.2.
2022-05-10 21:36:50 +02:00