| changeset | 2bf0c4e7795e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: issue2551390 - Replace text input/calendar popup with native date input Docs, code and test changes for the changeover to a native date element. See issue for details. |
| files |
| changeset | c8a931aa7514 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Marcus Preisch |
| description | fix(i18n): issue2551184 - improve i18n handling Apply patch to make sure that the dates tests use the locale files in the deployed tracker and not other roundup files. |
| files |
| changeset | 5be4f9104cf7 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Ralf Schlatterbeck <rsc@runtux.com> |
| description | Make i18n tests work These use installed roundup locales but should use the checked-out locales. Also revert monkey patches in i18n after the test. |
| files |
| changeset | 0f0cee081990 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Force test of a locale We had a file descriptor leak in the i18n routines. The code that opens a .mo file and then closes it was not tested. Add a test for converting dates to german locale. Make test use the locale/locale subdirectory tree. To do this build the .mo files and put them into the proper tree structure: locale/locale/<two char lang code>/LC_MESSAGES/roundup.mo Also make py.test run with warnings made into errors. Try to get advanced warnings of deprecation issues, resource leaks etc. Ignore error generated by the markdown module that uses the old SelectableGroups interface to dict: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. Also ignore use of imp module in gpg.gpgme, U mode in docutils.io. Tried to split lines for the py.test run so each warning is on it's own line. Makes it more readable and editing in the future easier. Not sure if it's valid though. May need to revise. |
| files |
| changeset | d76291836523 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix issue2551128 - Impossible to validate a user with unknown timezone Raise KeyError when an unrecognized timezones is passed to pytz. (patch Cedric Krier, test John Rouillard) |
| files |
| changeset | db429c75caec |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | replace assertEquals with assertEqual. |
| files |
| changeset | 64c4e43fbb84 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Joseph Myers <jsm@polyomino.org.uk> |
| description | Python 3 preparation: numeric literal syntax. Fixes octal constants to use leading 0o, and removes 'L' suffixes. Tool-assisted patch. |
| files |
| changeset | 43a1f7fe39f5 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Improved work-around for pytest markers bug The previous fix was only a partial solution. Any test class sharing a parent with, and appearing after, a skipped test class was being skipped (not just other test classes using the skip/skipif marker). Now only tests that should be skipped will be skipped, the rest should run as normal. |
| files |
| changeset | 37d1e24fb941 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Fix work-around for pytest markers bug The initial work-around implemented was totally botched using 'pytest.skip' instead of 'pytest.mark.skip' which resulted in all tests in a file being completely ignored if any skip conditions that evaluated to true were declared or imported in the file. This work-around will not correctly display why all the tests have been skipped when using the '-rs' parameter. Only the first skip marker to taint a parent test class will be displayed (ie. if both xapian and mysql tests are being skipped, pytest will only output that tests are being skipped because xapian is not installed even though the mysql tests are also being skipped because mysql backend is not available). There also seems to be a bug in the current version of pytest being used in 'run_tests.py' (v2.8.4) that results in the skip not actually working when using 'pytest.mark.skip'. This does work correctly with the most recent release (v2.9.2), so the 'run_tests.py' script will need to be updated. |
| files |
| changeset | c977f3530944 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Work-around for pytest.mark.skipif() bug There is a pytest bug that can cause all test classes marked with the skipif() decorator that inherit a common class to be skipped if one of the skipif() conditions is True. See: https://github.com/pytest-dev/pytest/issues/568 |
| files |
| changeset | 364c54991861 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Remove unneeded TestSuite code from tests The TestSuite code is no longer needed now that we are using py.test which can automatically discover tests |
| files |
| changeset | 380d8d8b30a3 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Replace existing run_tests.py script with a pytest script The existing run_test.py script is quite old, a bit restrictive, and doesn't always behave as documented. The pytest testing tool is mature, well documented, and maintained. The run_tests.py script is generating by installing py.test and running: py.tests --genscript=run_tests.py Note: to generate a script that is compatible with python2.6 the command needs to be run using python2.6 |
| files |
| changeset | 9cc6d463cfbe |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | anatoly techtonik <techtonik@gmail.com> |
| description | nested_scopes are here since Python 2.2 |
| files |
| changeset | 6e3e4f24c753 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Eric S. Raymond <esr@thyrsus.com> |
| description | Remove keyword expansions from CVS. All regression tests passed afterwards. |
| files |
| changeset | f6a2bfd351ee |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | force tests checking text output to work in the "C" locale |
| files |
| changeset | d5e2767d4e91 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Stefan Seefeld <stefan@seefeld.name> |
| description | Robustify Date.set. |
| files |
| changeset | 85cbaa50eba1 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | xml-rpc security checks and tests across all backends [SF#1907211] also add some leap year tests |
| files |
| changeset | 3d5a0a949107 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Fix granularity stuff so it handles wrapping a lot better. |
| files |
| changeset | 78dc9b275aeb |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | New tests for range searching by specifying just a month. Currently some of them fail. _add_granularity is broken - needs tests and complete fix. |
| files |
| changeset | c68581212cf7 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | add some Range testing, all of which currently fails |
| files |
| changeset | a5fb7698439d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
| description | remove some try:/import statements caught by alexander smishlajev |
| files |
| changeset | 2a60b68985db |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
| description | Fix arbitrary limit on dates. Dates can now be in the year-range 1-9999 for all backends except metakit which is still limited to 1970-2038. |
| files |
| changeset | a9126b8033c5 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | test timezones (based on patch [SF#1465296]) |
| files |
| changeset | f47bddab5a49 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | date spec wasn't allowing week intervals |
| files |
| changeset | c75dd71a7963 |
|---|---|
| branch | maint-0.8 |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | merge from HEAD |
| files |
| changeset | 9c080e19f307 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | tighten up Date parsing to not allow 'M/D/YY' (or 'D/M/YY) [SF#1290550] |
| files |
| changeset | e330f751828e |
|---|---|
| branch | maint-0.8 |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | test invalid tuple handling |
| files |
| changeset | d4d58c36d0bf |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | test invalid tuple handling |
| files |
| changeset | 22f16d0646ce |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | oops! error in recently added test |
| files |
| changeset | e28f047f87fa |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | Interval.from_seconds() produces a buggy output with float argument |
| files |
| changeset | 770f9fa94c6a |
|---|---|
| branch | maint-0.7 |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | merge from HEAD |
| files |
| changeset | eb4e7b8d52a2 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | handle Py2.3+ datetime objects as Date specs [SF#971300] |
| files |
| changeset | 98d3bf8ffb19 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | store Intervals as two columns (and other fixes |
| files |
| changeset | bcc65c5b86e6 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fixed date arithmetic to not allow day-of-month == 0 [SF#853306] fixed date arithmetic to limit hours-per-day to 24, not 60 |
| files |
| changeset | 71056b09f2bf |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
| description | Add tests for Interval.pretty(). Fix 'ago' and 'in' not being added to years. Fix docstrings for emacs. |
| files |
| changeset | b3f63a0615db |
|---|---|
| branch | maint-0.6 |
| bookmark | |
| tag | |
| user | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
| description | backport of Date arithmetic fixes from trunk |
| files |
| changeset | 41ad8b781232 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
| description | Date - Date works again. Note that it only produces Intervals with days, hours, minutes and seconds. Making it produce years and months is a lot more work. bugfix candidate |
| files |
| changeset | e3cff1bb1b86 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
| description | more tests for date difference. Completely broken code right now. |
| files |
| changeset | deba54ed724f |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
| description | Date arithmetic fixes. Date +/- Interval passes all tests again, after fixing a couple of the tests to actually reflect the calendar used on my planet rather than where-ever Richard was when he wrote the test <wink> The basic problem was that when going backwards, the code was adding the days of the current month, rather than the previous month. There's still a bug in the testDateSubtract that I'll fix next. Bugfix candidate (probably) |
| files |
| changeset | dc55a195722d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | woo, failing date arithmetic tests |
| files |
| changeset | f63aa57386b0 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Backend improvements. - using Zope3's test runner now, allowing GC checks, nicer controls and coverage analysis - all RDMBS backends now have indexes on several columns - added testing of schema mutation, fixed rdbms backends handling of a couple of cases - !BETA! added postgresql backend, needs work !BETA! |
| files |
| changeset | cc96bf971b33 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Andrey Lebedev <kedder@users.sourceforge.net> |
| description | extended date syntax to make range searches even more useful |
| files |
| changeset | 4d55f90d4af1 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Andrey Lebedev <kedder@users.sourceforge.net> |
| description | granularity based ranges |
| files |
| changeset | 0e36c9b23aa6 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | more lenient date input and addition Interval input support [SF#677764] |
| files |
| changeset | 26f29449c494 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fixed detection of bad date specs [SF#691439] |
| files |
| changeset | c101d2ff5a20 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fix to [SF#691071], really this time |
| files |
| changeset | 66cc5c2819dd |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | oops, Interval sorting ignored sign |
| files |
| changeset | f0da50a17e3c |
|---|---|
| branch | maint-0.5 |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | backport Interval fix from HEAD |
| files |
| changeset | 37a1906f4454 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fixed Interval maths [SF#665357] |
| files |
| changeset | 0c3546479b52 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Andrey Lebedev <kedder@users.sourceforge.net> |
| description | time should default to local midnight, not GMT |
| files |
| changeset | b94cc62090be |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | reminder comments for where we need new tests |
| files |
| changeset | 83f33642d220 |
|---|---|
| branch | maint-0.5 |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | [[Metadata associated with this commit was garbled during conversion from CVS to Subversion.]] |
| files |
| changeset | 46a1951fdb14 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fix Date.local() |
| files |
| changeset | b34adc9bcaf2 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | implemented the missing Interval.__add__ |
| files |
| changeset | 9b910e8d987d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | removed Log |
| files |
| changeset | 68cef2bb929d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fixed the date module so that Date(". - 2d") works |
| files |
| changeset | cfa460943d4d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Oops, there's 24 hours in a day... ...and subtraction of intervals now works properly. |
| files |
| changeset | 7dd13fd5d8ea |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fixed some problems in date calculations (calendar.py doesn't handle over- and under-flow). Also, hour/minute/second intervals may now be more than 99 each. |
| files |
| changeset | 3d61b5d2243e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Added popup help for classes using the classhelp html template function. - add <display call="classhelp('priority', 'id,name,description')"> to an item page, and it generates a link to a popup window which displays the id, name and description for the priority class. The description field won't exist in most installations, but it will be added to the default templates. |
| files |
| changeset | c242455d9b46 |
|---|---|
| branch | config-0-4-0-branch |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Brought the config branch up to date with HEAD |
| files |