Commit Graph

3047 Commits

Author SHA1 Message Date
Frédéric Guillot
d8819db5f3 Fix incorrect route for "My Activity Stream"
Fixes #5250
2023-04-21 14:56:27 -07:00
Frédéric Guillot
463dfbf4fe Fix incorrect parameter encoding when using URLs rewriting
A parameter with quotes or other special characters should be url encoded.

Incorrect encoding could happen when using search queries like this one:

modified:">=2023-04-01"
2023-04-19 21:37:19 -07:00
Frédéric Guillot
d3f38d1bf2 Add support for task links in Markdown headings
If a text block matches #(\d+) it will be interpreted as a task link instead
of a heading.

Closes #5017
2023-04-18 21:17:45 -07:00
Frédéric Guillot
0b1c2011ed Restore all previously loaded translations when sending user notifications
Fixes #5087
2023-04-11 21:09:01 -07:00
Frédéric Guillot
ae7bc0b74d Regenerate session ID after successful authentication
Closes #5141
2023-04-10 22:08:57 -07:00
Frédéric Guillot
4adb93c1a6 Use SESSION_DURATION option to define the session lifetime stored in the
database

The option `SESSION_DURATION` is used to define the cookie lifetime.

With this change, Kanboard will try to use first `SESSION_DURATION` instead of the
default `session.gc_maxlifetime` value.

Fixes #4340
2023-04-10 21:38:09 -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
77a32cb1b5 Allow moving closed tasks when using the API
Fixes #5151
2023-04-06 21:02:03 -07:00
Frédéric Guillot
38e82fe5e5 Duplicate external links when duplicating tasks
Fixes #4748
2023-04-06 20:51:57 -07:00
Frédéric Guillot
9c5f5a5854 Add support for comparison operator to priority filter
Fixes #3928
2023-04-04 20:25:51 -07:00
Frédéric Guillot
022b106d2d Prevents users to convert subtaks to tasks when custom role does not allow it
Fixes #5069
2023-04-04 19:50:40 -07:00
Frédéric Guillot
e2ad014cde Declare most common routes
Fixes #4079
2023-04-02 21:30:10 -07:00
Frédéric Guillot
887c1a959c Improve wording of bulk action modal to move tasks position
Fixes #5026
2023-03-30 20:22:18 -07:00
Frédéric Guillot
de7c1bf16b Improve wording of the menu to close all tasks in a given column/swimlane
Fixes #4740
2023-03-28 20:49:19 -07:00
mundry
59a4c7f73b Duplicate attachments & external links during task duplication & importing 2023-03-24 19:48:32 -07:00
Sasha Oshurkov
1319180ddc Improved translation in Ukrainian locale 2023-03-11 12:56:37 -08:00
Sasha Oshurkov
f24929311b Improved translation in Russian locale 2023-03-08 17:55:28 -08:00
Alfred Bühler
0216a3136b Use the appropriate config for the start column in user iCal export 2023-03-07 20:28:42 -08:00
Sasha Oshurkov
8987bb328e Full spelling of the word Estimate in Russian locale 2023-03-05 10:46:17 -08:00
Frédéric Guillot
18ed87cbd3 Filtering by category does not show results when the category name is a number
Fixes #4789
2023-03-04 14:50:12 -08:00
sashaoshurkov
d3694294a0 Remove semicolon in Russian locale 2023-03-04 14:26:17 -08:00
sashaoshurkov
24f74beabc It is better not to translate the name of the algorithm into Russian (see Wikipedia) 2023-03-04 14:26:17 -08:00
sashaoshurkov
4f64cf8f1d Set correct quotes in Russian locale 2023-03-04 14:26:17 -08:00
Frédéric Guillot
b138a99ce3 Better handling of max file upload size according to PHP settings
- Allow unlimited size
- Better parsing of PHP size

Fixes #4896
2023-03-02 20:51:47 -08:00
Tomas Dittmann
f945e45ad4 Add dropdown menu on the board to reorder tasks by ID 2023-02-26 16:13:56 -08:00
greyaz
714ea7dfe8 Change the total number of tasks displayed in the table header to match the description
The current value of `$column['column_nb_open_tasks']` represents the number of open tasks in the current column of a swimlane.

But according to the description: "Total number of tasks in this column across all swimlanes", the value of `$column['column_nb_tasks']` should be more appropriate.
2023-02-18 18:54:21 -08:00
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
bc9535cbdf extract sorting to separate icon 2023-02-16 18:35:31 -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
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
greyaz
5c25755f9e Update translations.php 2023-01-18 18:35:19 -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
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
mundry
ac94004ea9 feat: add functionality to import tasks from a project 2022-11-15 20:41:16 -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
80c073432f Update links to the new documentation website 2022-11-12 11:49:19 -08: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
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