Commit Graph

4398 Commits

Author SHA1 Message Date
peter af8159b4bb Allow full name to be retrieved by SSO ReverseProxy
Expand on #4585 by also getting the user's full name from the Reverse Proxy:
If a ReverseProxy provides more than REMOTE_USER, such as email, it might
as well also provide the user's full name.
2023-02-18 17:28:39 -08:00
Tomas Dittmann e323ce875f
Fix `pull-right` CSS class alignment 2023-02-16 18:39:47 -08:00
Tomas Dittmann bc9535cbdf extract sorting to separate icon 2023-02-16 18:35:31 -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 31408f53aa Add color_id argument to tag API procedures
Fixes #4592
2023-02-14 21:06:50 -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 277357277f Command db:migrate should work even if DB_RUN_MIGRATIONS is false
Fixes #4818
2023-02-12 20:03:49 -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
Frédéric Guillot 5f3225bddc Avoid Postgres SQL error when using project filter with a large integer
Fixes #4845
2023-02-12 18:25:35 -08:00
Frédéric Guillot 5e4d506b28 Enable Sqlite WAL mode by default
WAL provides more concurrency as readers do not block writers and,
a writer does not block readers. Reading and writing can proceed concurrently.

This change might reduce the number of errors related to locked databases.

For reference: https://sqlite.org/wal.html
2023-02-10 20:02:18 -08:00
dependabot[bot] 1e304f4ad6 build(deps-dev): bump phpunit/phpunit from 9.5.28 to 9.6.3
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 9.6.3.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.28...9.6.3)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 20:38:42 -08:00
dependabot[bot] 41a75c1ec6 build(deps): bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 17:48:47 -08:00
dependabot[bot] 692ed6ed51 build(deps): bump symfony/finder from 5.4.17 to 5.4.19
Bumps [symfony/finder](https://github.com/symfony/finder) from 5.4.17 to 5.4.19.
- [Release notes](https://github.com/symfony/finder/releases)
- [Changelog](https://github.com/symfony/finder/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/finder/compare/v5.4.17...v5.4.19)

---
updated-dependencies:
- dependency-name: symfony/finder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 17:28:27 -08:00
dependabot[bot] b90db00940 build(deps-dev): bump symfony/stopwatch from 5.4.13 to 5.4.19
Bumps [symfony/stopwatch](https://github.com/symfony/stopwatch) from 5.4.13 to 5.4.19.
- [Release notes](https://github.com/symfony/stopwatch/releases)
- [Changelog](https://github.com/symfony/stopwatch/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/stopwatch/compare/v5.4.13...v5.4.19)

---
updated-dependencies:
- dependency-name: symfony/stopwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 17:04:56 -08:00
IJ 3e0ae739fd
Reword notice about maintenance mode in project README 2023-01-21 15:04:39 -08:00
greyaz 5c25755f9e Update translations.php 2023-01-18 18:35:19 -08:00
dependabot[bot] 2edb708731 build(deps-dev): bump phpunit/phpunit from 9.5.27 to 9.5.28
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.27 to 9.5.28.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.5.28/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.27...9.5.28)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 15:15:44 -08:00
Frédéric Guillot 5750e273bc Update ChangeLog and remove copyright years 2023-01-14 11:47:03 -08:00
Frédéric Guillot bdaa2f585d Sync translations 2023-01-14 11:41:42 -08:00
Chris bb5e45ef69
Fire event after `TaskMoveColumnOnDueDate` action
Fixes #5021
2023-01-12 18:23:53 -08:00
Joe Nahmias 32667285a8 fix: update test for DateTime parse errors to work in php8.2
check if getLastErrors() returns a false bool, rather than specific
array elements, as this throws an error in php8.2 if there are no
errors returned.
2023-01-12 18:13:44 -08:00
Frédéric Guillot 3824e6e9aa Fix potential XSS on the Settings / API page
The CSP policy already prevent the execution of inline Javascript.
2023-01-06 12:25:57 -08:00
Shyam Chaudhary 8902c1448d
Use wildcard operator for tag filter
Fixes #4950
2023-01-06 11:47:31 -08:00
greyaz 372ebcb37e Update translations.php 2023-01-06 06:05:11 -08:00
Pascal Rigaux 3bbf26b169 Fix broken user mentions in popup comment form
This commit partially reverts commit

> commit 61e63ef9e0
> Author: Tomas Dittmann <chaosmeist3r@gmail.com>
> Date:   Sat Feb 5 05:59:33 2022 +0100
>
>   Remove `project_id` from task URLs

where those things should have been kept

(cf FormHelper::textEditor for the need for $values['project_id'])
2023-01-06 06:03:54 -08:00
dependabot[bot] 234b8a8c27 build(deps): bump symfony/finder from 5.4.11 to 5.4.17
Bumps [symfony/finder](https://github.com/symfony/finder) from 5.4.11 to 5.4.17.
- [Release notes](https://github.com/symfony/finder/releases)
- [Changelog](https://github.com/symfony/finder/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/finder/compare/v5.4.11...v5.4.17)

---
updated-dependencies:
- dependency-name: symfony/finder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 12:42:50 -08:00
ScarletBlizzard 7c0a239ec3
Correct and add translation in ru_RU/translations.php (#5106) 2022-12-13 20:55:35 -08:00
greyaz f91cdfe420
Update a wrong translation in zh_CN/translations.php (#5105) 2022-12-13 20:26:04 -08:00
dependabot[bot] 1827e3128c build(deps-dev): bump phpunit/phpunit from 9.5.26 to 9.5.27
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.26 to 9.5.27.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.26...9.5.27)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 17:45:28 -08:00
Frédéric Guillot 9b03b50172 Test Docker image build on pull-requests 2022-12-04 11:31:16 -08:00
dependabot[bot] 4c982294df build(deps): bump alpine from 3.16 to 3.17
Bumps alpine from 3.16 to 3.17.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-04 10:53:01 -08:00
greyaz 2841d81528
Fixed a bug about unselecting in the file list-item-selection.js (#5098) 2022-11-15 21:10:15 -08:00
mundry ac94004ea9 feat: add functionality to import tasks from a project 2022-11-15 20:41:16 -08:00
mundry d90987a09c chore: add missing CSS dependency jQuery UI 2022-11-14 20:42:58 -08:00
Frédéric Guillot 8bf55d1307 Update ChangeLog 2022-11-12 17:41:51 -08:00
Frédéric Guillot 63f3216447 Update German translation 2022-11-12 17:08:51 -08:00
Frédéric Guillot 2b4e02c974 Fix incorrect placeholder in documentation link 2022-11-12 17:08:02 -08:00
Frédéric Guillot eda5ba2308 Do not run unit tests on each push 2022-11-12 16:44:34 -08:00
Frédéric Guillot ba2200866d Add OpenContainers labels to Dockerfile 2022-11-12 14:58:04 -08:00
Frédéric Guillot 80c073432f Update links to the new documentation website 2022-11-12 11:49:19 -08:00
dependabot[bot] a376ffbe53 build(deps-dev): bump phpunit/phpunit from 9.5.25 to 9.5.26
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.25 to 9.5.26.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.25...9.5.26)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-30 09:50:16 -07:00
Frédéric Guillot 3a61060047 Keep GitHub Actions up to date 2022-10-29 21:39:55 -07:00
Joe Nahmias fc31da6bda run unit tests on push 2022-10-29 21:11:15 -07:00
Joe Nahmias 8e2f85926c run unit tests for MSSQL via GitHub Actions 2022-10-29 21:11:15 -07: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 ab353a3d8f tests: configure unit tests to run on MSSQL [odbc/dblib] 2022-10-29 21:11:15 -07:00
Joe Nahmias 33852e9ea0 feature: add Microsoft SQL Server database support
can be used via the pdo_dblib or pdo_odbc extensions.
requires Microsoft SQL Server 2016 or later.

* add schema/migrations
* add database provider
* add setup check for pdo module needed by selected driver (dblib/odbc)
* add default config doc
2022-10-29 21:11:15 -07:00
Joe Nahmias 338d02a2f6 tests: add test start/end markers to log and dump all SQL at end 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