Frédéric Guillot
b02133982a
Do not override the creator_id with the current logged user if the task is imported
...
Fixes #5345
2023-09-22 21:11:03 -07:00
Joe Nahmias
6ca3bb6fec
test: replace usage of at() matcher with alternatives
...
The PHPUnit at() matcher, used to determine the order that methods are called
on test doubles, has been deprecated in PHPUnit 9 and has been removed in
PHPUnit 10.
Migrate usage of at() to other constructs following Drupal core examples in:
<https://www.drupal.org/node/3218874 >
2023-06-29 21:06:04 -07:00
Frédéric Guillot
d3948e89a9
Trigger EVENT_MOVE_COLUMN event when moving task to another swimlane
...
Fixes #4581
2023-04-07 16:35:21 -07:00
Frédéric Guillot
38e82fe5e5
Duplicate external links when duplicating tasks
...
Fixes #4748
2023-04-06 20:51:57 -07:00
mundry
59a4c7f73b
Duplicate attachments & external links during task duplication & importing
2023-03-24 19:48:32 -07:00
Joe Nahmias
87e9a770c8
fix(test): searching with trailing space returns data on MSSQL
...
Microsoft SQL Server automatically pads the shorter of two strings of
unequal length with spaces prior to comparisons. Thus, searching for
username = 'test ' (unexpectedly) matches a row where username = 'test'.
Since kanboard does not rely on this behavior or its absence, simply
remove the test as unecessary to avoid this differing result amongst the
various database backends.
Ref: https://support.microsoft.com/en-us/topic/inf-how-sql-server-compares-strings-with-trailing-spaces-b62b1a2d-27d3-4260-216d-a605719003b0
2023-02-20 19:23:53 -08:00
jnahmias
83a8415d99
Use assertEqualsWithDelta() to test time_spent
...
Timing, clock skew, and network conditions can cause slight skew in the generated/expected timestamps in the unit test vs. actual recorded timestamps in the database. This can cause flakiness in the tests due to sporadic failures when things don't perfectly align. To fix this, we change assertEquals() to assertEqualsWithDelta() with a small (3 second) delta to account for this potential delay.
2023-02-16 18:23:20 -08:00
Frédéric Guillot
d0941ccd4e
Update task time spent/estimated when removing a subtask
...
Fixes #3811
2023-02-13 20:52:39 -08:00
Frédéric Guillot
bd8bcfbc37
Always trim the username before saving changes in the database
...
Fixes #4742
2023-02-12 19:30:23 -08:00
Joe Nahmias
8b550ff552
tests(odbc): skip ProjectModelTest::testCreationForAllLanguages due to bug in pdo_odbc
2022-10-29 21:11:15 -07:00
Joe Nahmias
af4fd62b55
fix(tests): use assertEqualsWithDelta() when checking currency rate
...
it is stored as a real (float) value, so needs a delta comparison
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
f68996b9c7
Remove assertion to avoid flaky test
2022-09-16 18:08:32 -07:00
Frédéric Guillot
f5bb55bdb8
PHP 8 Compatibility
2022-02-05 11:49:03 -08:00
Libin Pan
c6ae9f3f24
Duplicate tags when moving and duplicating tasks to another project
2021-06-07 19:36:08 -07:00
Franky Van Liedekerke
791c4abd57
Copy subtask assignee when duplicating a subtask
...
Closes #4469
2020-04-26 11:29:26 -07:00
Manfred Hoffmann
5e70e96772
Replace last occurences of "private" with "personal"
2020-04-06 20:36:20 -07: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
Timo
64397f45fa
Kanboard now requires PHP >= 7.2 since other versions are deprecated
2020-01-14 12:02:31 -08:00
Rafael de Camargo
7283bfaef6
Implements check for duplicate default categories
2019-07-23 15:41:13 -07:00
Rafael de Camargo
e488fdd154
Implements check for duplicate default columns
2019-07-23 15:41:13 -07:00
Rafael de Camargo
c250f3b1b8
Add option to clone filters on project duplication
...
* Fixed missing metadata option from project "create from"
* Added option to clone project custom filters
* Added append option to custom field tests
* Added a test that uses the "append" option
* Fixed disabled swimlane duplication error with Postgresql
2019-07-17 14:32:16 -07:00
rafacamargo123
30e9c22139
Fix import of automatic actions when parameters are "unassigned" or "no category"
2018-12-27 11:44:49 -08:00
Richard Levitte
2674def351
Add the locale en_GB
2018-11-08 20:46:01 -08:00
Frédéric Guillot
a08d8673e9
Duplicate tag color when duplicating projects
2018-10-02 11:12:36 -07:00
Frédéric Guillot
b6e0b9cc09
Duplicate category color when duplicating projects
2018-10-02 10:16:30 -07:00
Matteo Mazza
f28d7a15b9
Add custom roles project duplication
2018-08-22 21:00:01 -07:00
Julian Maurice
9d4cd31e1a
Allow to associate tags to colors
...
The color is then used as background in the board, list and task details
views
2018-08-11 10:15:13 +02:00
Frédéric Guillot
cc17cb3207
Do not show inactive users in group members dropdown
2018-05-07 10:48:43 -07:00
Frédéric Guillot
ccd177ada6
Store PHP sessions in the database
2017-12-12 15:04:28 -08:00
Frédéric Guillot
0153cb33de
Add command to remove project activities after one year
2017-12-01 11:54:02 -08:00
Frédéric Guillot
cb9e6377f6
Disable private projects when disabling a user
2017-11-30 12:02:48 -08:00
Frédéric Guillot
1db9bc1b2e
Update code base and doc to use kanboard.org domain
2017-11-27 11:14:37 -08:00
Frederic Guillot
cc6618901b
Remove feature "Allow everybody to access to this project"
2017-10-27 16:16:11 -07: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
Oliver Buchmann
daf39ee16a
Change Due Date to Due Timestamp fixes #919 ( #3249 )
2017-05-10 16:42:34 -04:00
Frederic Guillot
f22cc29cd5
Add [DUPLICATE] prefix to duplicated tasks title
2017-04-30 14:39:51 -04:00
Frederic Guillot
003c03a4e6
Add project restriction to block task edition
2017-04-07 21:46:36 -04:00
Frederic Guillot
481e767d35
Add new project restriction to block assignee change
2017-04-05 22:53:54 -04:00
Frederic Guillot
66c8351ad4
Add new project role restriction to block task suppression
2017-04-05 19:16:04 -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
9b34631135
Simplify dashboard to use new tasks list view
2017-03-12 21:36:52 -04:00
Frederic Guillot
d1edac845c
Change groups list layout
2017-03-11 17:30:09 -05:00
Frederic Guillot
f3deb6492a
Add toggle button to show/hide subtasks in task list view
2017-02-26 19:30:02 -05:00
Frederic Guillot
4f325193be
Add class SubtaskListFormatter
2017-02-26 16:06:09 -05:00
Frederic Guillot
3b3e803369
Redesign task list view
2017-02-19 17:08:00 -05:00
Frederic Guillot
49c8e5c1be
Prevent people to remove swimlanes that contains tasks
2017-02-18 13:38:51 -05:00