Commit Graph

12 Commits

Author SHA1 Message Date
Joe Nahmias 8b550ff552 tests(odbc): skip ProjectModelTest::testCreationForAllLanguages due to bug in pdo_odbc 2022-10-29 21:11:15 -07:00
Joe Nahmias e9f040d1c6 fix(tests): ensure translations are unloaded on error 2022-10-29 21:11:15 -07:00
Christoph Reiter 0b8a270bbb tests: port assertEquals() with delta to assertEqualsWithDelta()
assertEquals() in phpunit 9.5 no longer takes a delta parameter
and has assertEqualsWithDelta() as a replacement. This means
float get compared without a delta atm, and a recent phpunit
release (9.5.25) has made float comparisons stricter resulting in
test suite errors such as:

1) SubtaskTimeTrackingModelTest::testCalculateSubtaskTime
Total spent
Failed asserting that 3.3000000000000003 matches expected 3.3.
tests/units/Model/SubtaskTimeTrackingModelTest.php:186

This replaces all assertEquals() calls that pass a delta value
with assertEqualsWithDelta().
2022-10-10 18:57:22 -07:00
Frédéric Guillot f5bb55bdb8
PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
Andre Nathan c8a617cfcb
Add per-project and per-swimlane task limits
This change allows projects and swimlanes to be configured with task limits that apply to their whole scope (i.e. all active tasks in a project or swimlane, respectively), as opposed to the usual per-column task limits.
2020-02-25 20:26:31 -08:00
Andre Nathan e59ab08af3 Allow task limits to be applied per-swimlane 2020-02-04 20:16:35 -08:00
Frederic Guillot ad8b1223cc Check owner existence before to create project 2017-05-27 12:18:05 -04:00
Frederic Guillot 3cf9484644 Ensure project tags are removed when the project is removed (PR #3250) 2017-05-12 16:26:11 -04:00
Frederic Guillot b27a7db354 Do not list private projects when adding a new user 2017-03-19 17:05:28 -04:00
Frederic Guillot d5c4c18ea0 Add email address field for projects 2017-02-04 16:03:29 -05:00
Frederic Guillot 3861e90336
Fix wrong project date format (shown as 01/01/1970) 2016-08-31 21:04:22 -04:00
Frederic Guillot 10d577ad9d
Handle priority for task and project duplication 2016-07-02 16:36:10 -04:00