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
Joe Nahmias
3df89f9df2
fix(mssql): when updating an object by id, omit the id itself
...
It is a useless update and id is an identity column in MSSQL,
which is not updatable and throws an error if you try.
This affects the following seven objects (Models):
- Category
- CustomFilter
- Group
- Project
- Subtask
- TaskExternalLink
- User
2022-10-29 18:17:35 -07:00
Joe Nahmias
29df527979
fix(mssql): do not needlessly qualify columns in ProjectRoleRestrictionModel
...
this allows the ORM to properly escape the rule column
needed on MSSQL as it is a reserved word
2022-10-29 18:17:35 -07:00
Joe Nahmias
cf739273d5
fix(mssql): do not needlessly qualify columns in ColumnRestrictionModel
...
this allows the ORM to properly escape the rule column, as needed on MSSQL
2022-10-29 18:17:35 -07:00
Joe Nahmias
70bc427470
fix(mssql): use picodb ORM for subtask timer query, rather than hardcoded SQL
...
the hardcoded SQL was failing on MSSQL because 'end' is a reserved keyword
and thus must be escaped
escape identifiers within subtask timer subquery conditions
serialize and interpolate values into text after generation
2022-10-29 18:17:35 -07:00
Joe Nahmias
c39932050c
fix(mssql): omit ORDER BY in Task WithoutTags & WithGivenTag subqueries
...
MSSQL does not allow ORDER BY in subquery without TOP or FETCH/LIMIT
2022-10-29 18:17:35 -07:00
Joe Nahmias
81caabbc74
fix: do not hardcode link_id of 'is a milestone of' in TaskFinderModel
...
instead lookup which link_id was automatically assigned by the databsae
based on the label
2022-10-29 18:17:35 -07:00
Joe Nahmias
ee6cdb3565
picodb(mssql): support all MSSQL pdo drivers
...
For MSSQL make all connection attributes optional.
Handle differing DB connection params based on driver used.
connection can be made via ODBC DSN or server/hostname
username/password can be embedded in DSN definition or simply
omitted and single-signon will be attempted.
2022-10-23 16:19:50 -07:00
Joe Nahmias
bb7f8b4621
picodb(mssql): recognize 2627 and 23000 as dup key errors
2022-10-23 16:19:50 -07:00