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
Joe Nahmias
104f492301
picodb(mssql): fix retrieval of DB version on MSSQL
2022-10-23 16:19:50 -07:00
Joe Nahmias
66d55e5be0
picodb(mssql): fix implementation of getLastId() on MSSQL
2022-10-23 16:19:50 -07:00
Joe Nahmias
37bc859df5
picodb(mssql): teach picodb to use TOP for limits on MSSQL
2022-10-23 16:19:50 -07:00
Joe Nahmias
5493c2997e
picodb(mssql): fix disable/enable foreign keys by removing GO
2022-10-23 16:19:50 -07:00
Joe Nahmias
0047efe803
picodb(mssql): fix conditional creation of schema table
2022-10-23 16:19:50 -07:00
Joe Nahmias
55c80aa090
picodb(mssql): escape closing brackets within identifiers
...
Ref: https://docs.microsoft.com/en-us/sql/t-sql/functions/quotename-transact-sql
2022-10-23 16:19:50 -07:00
Joe Nahmias
427abb9961
picodb: include error code in SQLException error message
2022-10-23 16:19:50 -07:00
Joe Nahmias
64f589f759
picodb: Table::buildSelectQuery() should default columns to current table
2022-10-23 16:19:50 -07:00
Joe Nahmias
e3b9b2ce8f
picodb: when logging SQL, include params as well
2022-10-23 16:19:50 -07:00