Граф коммитов

116 Коммитов

Автор SHA1 Сообщение Дата
Sawjan Gurung 0ea6d8d240
feat: show error if connection cannot be made to OpenProject (#756)
* feat: show error if connection cannot be made to OpenProject

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: adjust new params and state

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

fix: reorder class imports

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: add new frontend state
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* chore: translatable error string

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: add unit test for new isOIDCUser method

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix vue tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: add vue unit tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix rebase

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-01-30 15:54:07 +05:45
Sagar Gurung c1384c2f6c
Added authentication method selection in integration setup (#737)
* added oidc based authorization in integration

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* Added change log

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* review address PR

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* Added link to user oidc app

Signed-off-by: Sagar <sagargurung1001@gmail.com>

---------

Signed-off-by: Sagar <sagargurung1001@gmail.com>
2025-01-10 12:10:11 +05:45
Nalem7 079cb7e408
update php-cs-fixer (#741)
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-11-26 17:13:30 +05:45
Nalem7 c995fb10da
Forwardport: groupfolder encryption and release prep (#732)
* [WP#58413]Use NC Note Card for projectfolder error in UI (#718)

* Replaced project folder error with component NC Note Card

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* Deleted component ProjectFolderError component

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* Fix Vue UI test failing

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* Added change log

Signed-off-by: Sagar <sagargurung1001@gmail.com>

---------

Signed-off-by: Sagar <sagargurung1001@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* [WP#57970]Add warning when encryption for group folders are not enabled explicitly (#713)

Signed-off-by: Sagar <sagargurung1001@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Co-authored-by: nabim777 <nabinalemagar019@gmail.com>

* release preparation for 2.7.1

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: Sagar <sagargurung1001@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Co-authored-by: Sagar Gurung <46086950+SagarGi@users.noreply.github.com>
2024-11-07 13:00:45 +05:45
Nalem7 1bd13c6083
Fix version comparison (#723)
* Fix version comparison for stable27

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* mini patch updated

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-10-31 17:49:21 +05:45
Nalem7 f0f4f82909
Add support for nextcloud master (#704)
* add support for nextcloud master

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* add ocs endpoint on groupfolder on tests

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* review address

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* call getVersionString from another class

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* review address for group folder test

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* using DRY concept

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* group folders

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* review address

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* set the version inside hroupfoldercontext file

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* check if groupfolderDavpath is set or not

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-10-07 14:14:35 +05:45
Nalem7 732ce385fe
add config for the psalm to check unused variables and parameter (#655)
* make psalm error level check to 4

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* cs fix

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* check for the UndefinedInterfaceMethod psalm

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* try for ignoring server code scanning by psalm

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* changes fileid type from int to string

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-10-01 09:42:48 +05:45
Sagar Gurung b49283d97f
[WP#57654]switch encryption for oauth secret (#694) 2024-09-10 11:51:57 +05:45
Sagar Gurung 0d5a02b392
Remove version comparision for secret encryption (#695)
* Remove version comparision for secret encryption

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* stlye fix

Signed-off-by: Sagar <sagargurung1001@gmail.com>

---------

Signed-off-by: Sagar <sagargurung1001@gmail.com>
2024-09-10 11:47:02 +05:45
Sagar Gurung 2173105d84
update cs-fix package and update composer (#693)
Signed-off-by: Sagar <sagargurung1001@gmail.com>
2024-09-02 14:04:40 +05:45
Sagar Gurung 376e7181be
[WP#5464]Apply `typeahead` with `debounce` while searching projects to create workpackage from Nextcloud (#664)
* apply typeahead with debounce while searching projects

Signed-off-by: Sagar <sagargurung1001@gmail.com>

* Review address

Signed-off-by: Sagar <sagargurung1001@gmail.com>

---------

Signed-off-by: Sagar <sagargurung1001@gmail.com>
2024-08-08 12:39:56 +05:45
nabim777 ba9ab07374
bug fixed related to avatar
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-08-07 09:55:55 +05:45
Artur Neumann 252994cb90
test real images (#666)
* test real images

Signed-off-by: Artur Neumann <artur@jankaritech.com>

* fix psalm

* fix more tests

* multiple interactions fix

Signed-off-by: Artur Neumann <artur@jankaritech.com>

* don't run unit tests with php 8.0

* cs fix

Signed-off-by: Artur Neumann <artur@jankaritech.com>

* do not set PACK_MOCK_SERVER_PORT in phpunit

Signed-off-by: Artur Neumann <artur@jankaritech.com>

* add guzzlehttp - 7.9 on composer json and update composer lock

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* CI/run the phpunit test on Php 8.0

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* CI/pass psalm for 8.0

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Co-authored-by: nabim777 <nabinalemagar019@gmail.com>
2024-08-05 13:24:06 +05:45
Sagar Gurung 6657608d4f
[WP#]Fix random deactivation of automatically managed folders (#656)
* Added migration step

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Make token permanent

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* fix psalm

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* update changelog.md

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* udpate token

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* make hardcoded one

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* add comment

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Adjust unit test for permanent password token creation

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-07-31 17:42:55 +05:45
Sagar Gurung 4fcd49e188
Added admin audit log for admin config integration setup (#640)
* Added audit logging without UI info in frontend

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Fix psalm

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Adjust and fix unit test

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Add unit tests

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* review address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-07-02 14:43:45 +05:45
Nalem7 2e0f735d58
Add support for integration_app in nextcloud master (#649)
* add support for integration_app in nextcloud master

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* remove safe as there is removed of thecodingmachine module

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* make return JSON_EXCEPTION for json_decode and json_encode

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-06-10 16:54:36 +05:45
nabim777 7200a8986d
phpstan removed from the code
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-06-04 15:03:27 +05:45
Artur Neumann 0890786741
use psalm in all NC version and remove phpstan in CI (#642)
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Co-authored-by: nabim777 <nabinalemagar019@gmail.com>
2024-06-03 17:12:33 +05:45
Sagar Gurung 8a8012f6b3
Refactor integration script when `project folder` is already setup (#638)
* Refactor integration script when project folder is already setup

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Added tests

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-05-13 09:18:21 +05:45
Nalem7 c1138bd0bd
[WP #54017] Update php version for api and unit test (#626)
* Update composer and fix phpstan and coding style

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* add changelog

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-04-15 17:07:28 +05:45
Sagar Gurung 74c7eee7fe
[WP#52658]Fix undefined array title in error log (#573)
* Fix undefined array title in error log

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Added unit tests (need to refactor)

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Added unit tests (refactored)

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-15 12:25:25 +05:45
Sagar Gurung 7368ac891e
Added TOS app enabled and set TOS for OP user (#552)
* Added TOS sign for op user for app enable and user creation

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Fix unit test

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Added listener for NewTos create

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Refactor TOS sign for user OpenProject

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* fix red CI for phpphan error

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Sign in when tos are reset

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Add new tos sign modal in admin setting

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Error handling

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Refactor the UI modal for TOS

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Added UI unit tests for sign TOS modal

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Refactor TOS Code

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Add tos app in CI

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Added php unit tests for TOS

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Refactor check

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Address PR

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address- 2

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-13 09:13:50 +05:45
Sagar Gurung 999c4b766a
Make the min password length dynamic instead of hardcoded one (#535)
* Make the min password length dynamic instead of hardcoded one

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* added default password lenght to 0

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Fix unit tests

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-12-08 16:32:50 +05:45
Swikriti Tripathi 7b39edf517
[#50658] Connect to OpenProject Button in Smart Picker (#516)
https://community.openproject.org/work_packages/50658

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-12-07 13:05:52 +05:45
Swikriti Tripathi 60a1763ebb
[OP#49859] add create work package form (#500)
* add button for creating workpackages

add option for creating workpackage in the search input

make the create workpackage sticky

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

test with iframe

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

handel creating and linking workpackage

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

handel linking multiple files to newely created work packages and fix some lint errors

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

uncomment the commented code

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix lint and other stuff

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix storage not linked error message display

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add unit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add unit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

Add form for creating workpackage

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add form validation endpoint

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fetch assignee

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix UI and fix linting errors

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix style lint errors

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix filtering of the options

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add create and link workpackage

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

make changes

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

handel valiation errors

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

display project hierarchy

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix project listing and make layout responsive

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

handel custom types

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix phpstan

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix phpstan

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix faiing phpunit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add phpunit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

remove CSP listener

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix phpstan complains

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add phpunit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add more tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add vue unit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add ui unit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add more unit test

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix failing tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

remove some unneeded attributes

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix unit tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add more cases

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

address reviews

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

address more reviews

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix type not changing

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

filter workpackages according to their storages

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

address more reviews

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

address reviews

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

remove leftovers

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add placeholders

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

make some ui adjustments

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

sort project alphabetically

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

remove duplicate check

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

update url to direct to the workpackage creation form directly

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add workaround for project dropdown gaining auto focus

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

fix unit tests and update snapshots

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* fix failing tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* fix get by storage logic

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* fix tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* add operator to check all user permissions

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* fix colour of button in dark theme

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-12-06 15:14:29 +05:45
Swikriti Tripathi e617cc9131
fix tests and php stan
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-10-31 13:58:03 +05:45
Swikriti Tripathi a307eeebad
Use dependecy Injection to get classes from other apps
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-10-31 13:53:11 +05:45
Swikriti Tripathi 6fea0b1bff
[#50431] Project folders setup: password is missing
https://community.openproject.org/work_packages/50431
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-10-20 14:30:57 +05:45
sagargurung1001@gmail.com a6dd79867c
Review Address
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:18 +05:45
sagargurung1001@gmail.com d580178d7c
Review address : 2
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:18 +05:45
sagargurung1001@gmail.com 58ccbbb1ce
Added unit test for validation
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:18 +05:45
sagargurung1001@gmail.com f6e6786a03
Added validation check for the api values to link a file to workpackage
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:17 +05:45
sagargurung1001@gmail.com 346b7d33cd
Review Address: 1
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:17 +05:45
sagargurung1001@gmail.com f1cf5f522c
Refactor and test updates
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:17 +05:45
sagargurung1001@gmail.com e54fa4850a
Added php unit (not pact) test for multiple link files to WP
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:17 +05:45
sagargurung1001@gmail.com ece03e1117
Only check for one file while searching in multiple link as per requirement
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-09-11 14:45:16 +05:45
Swikriti Tripathi d5f9ea0e1c
[#45456] Make the setup API not return 500 errors
https://community.openproject.org/work_packages/45456
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-22 16:41:29 +05:45
Swikriti Tripathi 039890589c
[OP#49621] fix app password form becomes inactive (#456)
* Check and remove the app password with name OpenProject

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* add phpunit test

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* add api test to cover the bug

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* add unit test for multiple token

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* add unit test for delete token

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-16 09:21:52 +05:45
Swikriti Tripathi 40efb7457f
[OP#48106] use same component as project tab for searching in smart picker (#448)
* reuse component

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

reuse

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

emit event

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

add op icon vue

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* fix failing tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* check for access token

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* add unit test

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* address review

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-04 11:49:53 +05:45
Swikriti Tripathi 46e654b5bf
[OP#49416] Encrypt the OAuth2 client secrets (#445)
* Encrypt the OAuth2 client secrets

check versions of nc

add migration step

update version and extensions

try running qb

disable migration

enable migration

enable migration

enable migration

enable migration

enable migration

remove migration

add more version checks

add more version checks

add migration

add migration

add extension

don't show secrets

update unit tests

fix api test

fix api test

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* revert ci changes

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* lower the coverage

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* fix test expectations

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-01 09:50:01 +05:45
Swikriti Tripathi 0e78dab23a
add ui for link previews (#428)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-07-12 15:18:31 +05:45
Julien Veyssier d5f3cecbfd
start implementing a reference provider and a reference widget that are used on NC >= 26 only (#399)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-06-26 15:59:46 +05:45
sagargurung1001@gmail.com fc01aaec21
Make changes according to figma in UI
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-06-13 11:44:51 +05:45
Sagar Gurung 4c2ca0735f
[OP#46179 & OP#46178]Implement project folders and app password (UI and API) (#375)
* Implement Project folders and user app password

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Adjust code after rebase

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Adjust unit test after rebase

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Change name to project-folder

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Change version to 2.4.0

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* check with old php version

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Revert php for api tests

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-06-07 11:11:23 +05:45
Artur Neumann f2698f8417
rely on foldername not fileID for delete protection of project folders (#414)
* rely on foldername not fileID

Signed-off-by: Artur Neumann <artur@jankaritech.com>

* do not try to find and store fileID & adjust tests

Signed-off-by: Artur Neumann <artur@jankaritech.com>

* fix codestyle

Signed-off-by: Artur Neumann <artur@jankaritech.com>

* fix rebase issue

Signed-off-by: Artur Neumann <artur@jankaritech.com>

---------

Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-05-26 14:04:17 +05:45
Artur Neumann 962032112f
improve check if the groupfolder is setup correctly (#415) 2023-05-26 10:16:27 +05:45
Swikriti Tripathi ee7538e186
[OP#48255]Fix global search to display all the work packages available to the user (#411)
* Fix global search to display all the workpackages available to the suer

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* Add unit test

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* change logic to check for only linkable workpackages

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-05-23 09:45:17 +05:45
Swikriti Tripathi 5b66b19a6b
Add required values in constructor of FolderManager class
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-05-08 10:05:23 +05:45
Swikriti Tripathi 94aed1437d
Merge release/2.3 to master (#397)
* change master to stable26

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* Check if free space is a positive value (#390)

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* run ci in master

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* Update gihub packages

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* update version of the app for patch release (#396)

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-04-27 09:42:03 +05:45
Swikriti Tripathi a19b805860
Drop support for nextcloud version 22
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-03-28 13:25:16 +05:45