Sofia Papagiannaki
d883404f50
Nested folders: Fix missing URL from folder responses ( #68082 )
...
* Nested folders: Set URL in folder responses always
* Apply suggestions from code review
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2023-05-10 16:20:16 +03:00
Sofia Papagiannaki
893bf08dcf
Nested folders: Fix API response ordering when fetching subfolders ( #67258 )
...
* Nested folders: Fix ordering when getting subfolders
* Update endpoint swagger description
* Modify test
2023-04-27 17:24:47 +03:00
Sofia Papagiannaki
a270188f0c
Nested folders: Fix moving folder under root ( #65684 )
...
* Nested folders: Fix moving folder under root
* Add store test for not empty parent after update
* Modify folder and document store update implementation
Move folder only if NewParentUID is not nil
* Apply suggestion from code review
2023-04-03 21:24:36 +03:00
Sofia Papagiannaki
c65cd5833a
Nested folders: Fix move ( #65526 )
...
* Nested Folders: Fix move response
Fix JSON tags to be consistent with the GET endpoint
* Add API test for moving to root folder
* Allow move to root folder
* Fix failure message
* Update OpenAPI specification
2023-03-30 11:46:11 +03:00
ying-jeanne
6974f4340b
NestedFolders: Fix nested folder deletion ( #63572 )
...
---------
Co-authored-by: suntala <arati.rana@grafana.com >
Co-authored-by: ying-jeanne <ying-jeanne@users.noreply.github.com >
Co-authored-by: jeanne0731 <jeanne0731@users.noreply.github.com >
2023-03-15 09:51:37 +01:00
Sofia Papagiannaki
4eaff63eda
SQLStore: Fix folder migration for MySQL < 5.7 ( #62521 )
...
* Nested folders: Do not skip integration tests
* SQLStore: Fix folder migration
It reduces the length of the title column to be equal with the respective
dashboard column.
2023-02-02 16:21:25 +02:00
Sofia Papagiannaki
55b014974d
Nested folders: Refactor folder update ( #60323 )
...
* Nested folders: Refactor folder update
* Apply suggestions from code review
2022-12-20 15:00:33 +02:00
Sofia Papagiannaki
b1ef5ab320
Nested Folders: Support listing nested folder children ( #58566 )
...
* Nested Folders: Support listing nested folder children
* Filter out subfolders with no permissions
* Apply suggestion from code review
2022-12-19 10:52:04 +02:00
ying-jeanne
1131bac5da
[Nested Folder] Block move operation that could introduce more than 8 level of depth,… ( #59832 )
...
* block move operation that could introduce more than 8 level of depth, forbid circular reference
* move getHeight to store, mock store in service
* fix linter
2022-12-08 08:49:17 -05:00
Sofia Papagiannaki
8ab7ca45cd
Nested folder: Fix for PostgreSQL ( #59405 )
...
* Nested Folders: Fix PostgreSQL LastInsertId failure
* Fix children sorting
* Fix store tests
2022-11-28 17:48:44 +02:00
Sofia Papagiannaki
f5c41ea497
Nested Folders: More API fixes ( #59316 )
...
* Nested Folder: Fix create, use camel case for JSON properties
* Fix get parents if the folder does not exist
* Add store test for get parents
2022-11-24 13:28:53 -05:00
Sofia Papagiannaki
ad96b240fc
Nested Folder: Enforce maximum nested folder depth ( #59213 )
...
* Nested Folder: Enforce maximum nested folder depth
* Cleanup
* Fix logging
2022-11-23 09:44:45 -05:00
Sofia Papagiannaki
9855e74b92
Chore: Refactor quota service ( #58643 )
...
Chore: Refactor quota service (#57586 )
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-14 21:08:10 +02:00
Kristin Laemmert
a255c32e1a
nested folders: support creation of nested folders in folder service when feature flag is set ( #58364 )
...
* nested folders: support creation of nested folders in folder service when feature flag is set
2022-11-08 08:59:55 -05:00
Sofia Papagiannaki
96cdf77995
Revert "Chore: Refactor quota service ( #57586 )" ( #58394 )
...
This reverts commit 326ea86a57 .
2022-11-08 11:52:07 +02:00
Sofia Papagiannaki
326ea86a57
Chore: Refactor quota service ( #57586 )
...
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-08 10:25:34 +02:00
Dan Cech
9ea6a43089
Build: clean up and document integration test convention ( #58170 )
...
* clean up and document integration test convention
* clarify integration test conventions
* clean up integration tests that don't follow convention
* mark testIntegration* functions as helpers to avoid confusion
2022-11-04 10:14:21 -04:00
Sofia Papagiannaki
5c973e58bd
Nested Folders: Add tests for store methods ( #57662 )
...
* Nested Folders: Add store tests
* Fix parent order
* Fix update
* skip tests!
* Export test helpers for now
2022-11-03 14:21:41 +01:00
idafurjes
6b483a8dca
Add implementation for folder store methods ( #57700 )
...
* Add implementation for folder store methods
* Add Move implementation
* Add back comment and fix query
* Remove Move from store
* Adjust GetChildren
* Fix errutil error declaration and usage
* Add org id to get children query
2022-10-28 15:35:49 +02:00
Kristin Laemmert
6c982e5b71
some file moving and struct renaming ( #57686 )
2022-10-26 11:52:01 -04:00