Commit Graph

9662 Commits

Author SHA1 Message Date
Frederick [Bot] 244ca262df [skip ci] Updated swagger docs 2024-06-03 19:51:44 +00:00
kolaente 99a67e09b1
feat(api): all usable routes behind authentication now have permissions
Previously, only routes which were coming from crudable entities could be used with an api token because there was no way to assign permissions to them. This change implements a more flexible structure for api permissions under the hood, allowing to add permissions for these routes and making them usable with an api token.

Resolves https://github.com/go-vikunja/vikunja/issues/266
2024-06-03 21:35:09 +02:00
kolaente 5ef140fba2
fix(tasklist): migrate old tasklist format
Resolves https://community.vikunja.io/t/task-list-from-0-21-0-0-23-0/2340
Resolves https://community.vikunja.io/t/general-feedback-after-trying-out-vikunja/1943/6
2024-06-03 17:39:35 +02:00
kolaente 755e53af70
fix(views): transform bucket configurations
This fixes a bug where filter buckets would not be editable because the bucket configuration was a read-only entry from the watcher.
2024-06-03 17:04:09 +02:00
kolaente c47d8c6dbe
fix(task): do not try to set bucket for filtered bucket configuration 2024-06-03 17:02:50 +02:00
kolaente 43244156b4
fix(filter): do not add enter in input field 2024-06-03 16:30:17 +02:00
kolaente 4ce761eba7
fix(filter): trim search term before searching 2024-06-03 16:28:04 +02:00
kolaente 6c8299772a
fix(task): do not require admin permission to move tasks between buckets
Resolves https://community.vikunja.io/t/moving-between-buckets-requires-admin-permissions-now/2390
2024-06-03 16:26:07 +02:00
kolaente a6fccfb908
fix(webhook): log errors in webhook response 2024-06-03 13:11:44 +02:00
andreymal 73780e4b50 feat: add pluralization rules for Russian (#2344)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2344
Reviewed-by: konrad <k@knt.li>
Co-authored-by: andreymal <andriyano-31@mail.ru>
Co-committed-by: andreymal <andriyano-31@mail.ru>
2024-06-03 08:51:11 +00:00
Elscrux 81bdad4beb fix: ignore casing to check if file extensions can be previewed (#2341)
Now .PNG is supported as well as .PnG and so on

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2341
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-06-02 19:23:52 +00:00
David Baakman 8bc23b3a54 docs: remove superfluous yaml code block (#2342)
Fixes the ```yaml shown in the documentation.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2342
Reviewed-by: konrad <k@knt.li>
Co-authored-by: David Baakman <kolaente@davidbaakman.nl>
Co-committed-by: David Baakman <kolaente@davidbaakman.nl>
2024-06-02 19:20:09 +00:00
Elscrux aac01c7a35 feat: default view setting (#2306)
This PR adds configuration of default project view in settings, which is used when the user has not visited the project and thus last view hasn't yet been saved in projects. Updates old settings and adds "First View" option with fallback.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2153

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2306
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-06-02 08:15:53 +00:00
Frederick [Bot] a175214aa0 chore(i18n): update translations via Crowdin 2024-06-02 00:28:49 +00:00
kolaente 8b2c3075c3
fix(logo): use correct month for pride logo change 2024-06-01 23:20:02 +02:00
Frederick [Bot] a53ee4143f chore(i18n): update translations via Crowdin 2024-05-28 00:27:42 +00:00
Frederick [Bot] aeadce8631 chore(i18n): update translations via Crowdin 2024-05-27 00:27:50 +00:00
Frederick [Bot] e618becdf4 chore(i18n): update translations via Crowdin 2024-05-26 00:28:14 +00:00
konrad 34d69fa588 feat(task): show attachment preview for image attachments (#2266)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2266
Reviewed-by: konrad <k@knt.li>
2024-05-25 12:11:03 +00:00
Elscrux aba045ff24 Set attachment width to 100% 2024-05-25 13:45:26 +02:00
Elscrux 4eb0df256c Improve preview spacing 2024-05-25 12:06:23 +02:00
Elscrux 8b066bf0e9 Add cover tooltips 2024-05-25 12:05:37 +02:00
Elscrux c2fc444bc0 Use file fallback icon 2024-05-25 12:05:37 +02:00
Elscrux 680cb72f29 Make fallback icon grey 2024-05-25 12:05:37 +02:00
konrad fd66e6875c feat(editor): add hotkeys to quickly edit and discard (#2265)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2265
Reviewed-by: konrad <k@knt.li>
2024-05-25 08:13:10 +00:00
kolaente fb1f461e51
feat(i18n): add Croatian to selectable languages 2024-05-25 10:03:08 +02:00
Frederick [Bot] 3925536a7c chore(i18n): update translations via Crowdin 2024-05-25 00:27:52 +00:00
Elscrux 00bfa2c552 Rename discardShortcutEnabled to enableDiscardShortcut 2024-05-24 15:23:15 +02:00
Elscrux ebb093797c Rename discardShortcutEnabled to enableDiscardShortcut 2024-05-24 15:23:15 +02:00
Elscrux c13a991c16 Merge import 2024-05-24 15:23:15 +02:00
Elscrux ecd44059e4 Use if to conditionally add escape hotkey 2024-05-24 15:23:15 +02:00
Elscrux 308a98c876 Add discardShortcutEnabled setting to opt into this feature
Only editing the task description and comments have this feature enabled
2024-05-24 15:23:15 +02:00
Elscrux 6ad8ce8f44 Cancel current edits and exit edit mode with escape 2024-05-24 15:23:15 +02:00
Elscrux 9de48aa6b2 Enter edit mode when double clicking 2024-05-24 15:23:15 +02:00
kolaente 2e298ffc11
fix(i18n): adjust tests from 34780daab0 2024-05-24 15:05:09 +02:00
kolaente 536047c4c4
fix(i18n): typo 2024-05-24 13:17:53 +02:00
Elscrux 6543795755 Only allow cover if a preview is available 2024-05-24 12:47:15 +02:00
Elscrux 56d9223fc4 Replace cover text links with icons 2024-05-24 12:46:46 +02:00
Elscrux ef8bb5aca9 Add file image as fallback preview 2024-05-24 12:45:30 +02:00
Elscrux 658936a070 File name and cover label styling improvement 2024-05-24 12:45:06 +02:00
kolaente 34780daab0
chore(i18n): remove "new" from creation strings
You can't create an "old" thing, therefore the "new" is redundant in that context. This change clarifies usage of this in all places.
2024-05-24 09:11:27 +02:00
Elscrux c80d77ca69 Add width: 100% 2024-05-23 10:26:42 +02:00
Elscrux eafd4da038 Fix test again 2024-05-23 10:26:15 +02:00
kolaente 76b3ac39b6
fix(filter): clarify `in` filter syntax 2024-05-22 22:17:50 +02:00
Elscrux 7664534618 Change attachment div to button 2024-05-16 19:29:40 +02:00
Elscrux 230fef3559 Attempt to fix attachment verification 2024-05-16 14:36:41 +02:00
Elscrux 4b4c7840e2 Rename grid-item class to attachment 2024-05-16 14:32:29 +02:00
Elscrux 2d3bf4c210 Move object-fit to styles 2024-05-16 14:32:15 +02:00
Elscrux 6fa15d30ad Replace px with rem 2024-05-15 23:58:28 +02:00
Elscrux 9c7187b4aa Adjust file preview style 2024-05-15 23:58:28 +02:00