Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Fix GetMD #300

Open
michielbdejong opened this issue May 10, 2023 · 1 comment
Open

Fix GetMD #300

michielbdejong opened this issue May 10, 2023 · 1 comment

Comments

@michielbdejong
Copy link
Member

  • GetMD {"ref":{"path":"/home/asdf"},"mdKeys":null}
  • GetMD {"ref":{"resource_id":{"storage_id":"00000000-0000-0000-0000-000000000000","opaque_id":"fileid-/home/asdf"}},"mdKeys":null}
@michielbdejong
Copy link
Member Author

Continuation of #296

michielbdejong added a commit that referenced this issue May 10, 2023
michielbdejong added a commit that referenced this issue May 10, 2023
parhamin2010 pushed a commit that referenced this issue May 19, 2023
michielbdejong added a commit that referenced this issue Jun 13, 2023
* add API routes, add ApiController

* add ApiController.php, add migration for ocm_tokens and ocm_remote_users table, add to migration to info.xml

* add API methods (authenticate, addToken, getToken, TokenList), change routes to GET for testing

* add API methods (authenticate, addToken, getToken, TokenList), change routes to GET for testing

* add new migration for db changes on remote_table & tokens, change API routes for initiator+get and post methods, Change ApiController for set request+ttoken validation+get header values+return proper response

* add comments

* some modification on apicontroller method for get the params instead of header, modification on one route from post to get, add some modification on database structure

* remove initiator from get_token method

* remove email param from ocm_remote_user query

* Adapt to new invite generation endpoint (draft)

* Fix token generation

* resolve conflicts on contact.js

* Adapt search plugin

* TODO: get permissions from inside the protocol

* fix token generator url json problem, #287

* add removed } for internal error

* Attempt to fix pondersource/sciencemesh-php#189

* Http::STATUS_INTERNAL_SERVER_ERROR

* Remove comment

* Deal with response from /sciencemesh/accept-invite

* Deal with non-URL idp

* add provider

* fix missing recipientHost in call to /sciencemesh/create-share

* params[share]... -> params...

* Fix storing of sharedSecret (token) in addSentShare

* working on #293

* Fixed reading permissions from the reva incoming request

* deal with null accepted users

* Mrv/share dialog (#297)

* fix incorrect remote in tne accept share dialog #294

Signed-off-by: MohammadReza vahedi <[email protected]>

* remove quotes from remote_id #295

Signed-off-by: MohammadReza vahedi <[email protected]>

* remove unnecessary log

---------

Signed-off-by: MohammadReza vahedi <[email protected]>

* get sharedSecret from the right array member

* Tag v0.2.0

* Tag v0.3.0

* Built v0.3.0

* info.xml did not validate: The value 'mit' is not an element of the set {'agpl', 'mpl', 'apache'}.

* Tag v0.3.1

* Built v0.3.1

* remove: error_logs

* remove: whitespace

* Fix #300

* Get remote out of URI

* Tag v0.4.0

* Build v0.4.0

* Update release.sh

* modify: initial use of inheritance for creating share provider class

* fix: call parent constructor to avoid breaking nextcloud

* modify: class signature to make parent constructor happy!

* fix: use statements.

* add: parent class stub file which has replaced private with protected.

* add: people who had contributed to the project and missing emails

* remove: unnecessary use statement

* modify: rename file and apply final changes

* fix: mixed space and tabs

* Add missed use statement

* remove error log

* add `use OCA\ScienceMesh\AppInfo\ScienceMeshApp;`

* fix config key

Signed-off-by: MohammadReza vahedi <[email protected]>

* add public api annotation

Signed-off-by: MohammadReza vahedi <[email protected]>

* bugfix and finalization

Signed-off-by: MohammadReza vahedi <[email protected]>

---------

Signed-off-by: MohammadReza vahedi <[email protected]>
Signed-off-by: MohammadReza vahedi <[email protected]>
Co-authored-by: Parham R <[email protected]>
Co-authored-by: Michiel de Jong <[email protected]>
Co-authored-by: root <[email protected]>
Co-authored-by: Yashar PourMohammad <[email protected]>
Co-authored-by: MohammadReza vahedi <[email protected]>
Co-authored-by: MohammadReza vahedi <[email protected]>
MahdiBaghbani added a commit that referenced this issue Jun 23, 2023
* add API routes, add ApiController

* add ApiController.php, add migration for ocm_tokens and ocm_remote_users table, add to migration to info.xml

* add API methods (authenticate, addToken, getToken, TokenList), change routes to GET for testing

* add API methods (authenticate, addToken, getToken, TokenList), change routes to GET for testing

* add new migration for db changes on remote_table & tokens, change API routes for initiator+get and post methods, Change ApiController for set request+ttoken validation+get header values+return proper response

* add comments

* some modification on apicontroller method for get the params instead of header, modification on one route from post to get, add some modification on database structure

* remove initiator from get_token method

* remove email param from ocm_remote_user query

* Adapt to new invite generation endpoint (draft)

* Fix token generation

* resolve conflicts on contact.js

* Adapt search plugin

* TODO: get permissions from inside the protocol

* fix token generator url json problem, #287

* add removed } for internal error

* Attempt to fix pondersource/sciencemesh-php#189

* Http::STATUS_INTERNAL_SERVER_ERROR

* Remove comment

* Deal with response from /sciencemesh/accept-invite

* Deal with non-URL idp

* add provider

* fix missing recipientHost in call to /sciencemesh/create-share

* params[share]... -> params...

* Fix storing of sharedSecret (token) in addSentShare

* working on #293

* Fixed reading permissions from the reva incoming request

* deal with null accepted users

* Mrv/share dialog (#297)

* fix incorrect remote in tne accept share dialog #294

Signed-off-by: MohammadReza vahedi <[email protected]>

* remove quotes from remote_id #295

Signed-off-by: MohammadReza vahedi <[email protected]>

* remove unnecessary log

---------

Signed-off-by: MohammadReza vahedi <[email protected]>

* get sharedSecret from the right array member

* Tag v0.2.0

* Tag v0.3.0

* Built v0.3.0

* info.xml did not validate: The value 'mit' is not an element of the set {'agpl', 'mpl', 'apache'}.

* Tag v0.3.1

* Built v0.3.1

* remove: error_logs

* remove: whitespace

* Fix #300

* Get remote out of URI

* Tag v0.4.0

* Build v0.4.0

* Update release.sh

* modify: initial use of inheritance for creating share provider class

* fix: call parent constructor to avoid breaking nextcloud

* modify: class signature to make parent constructor happy!

* fix: use statements.

* add: parent class stub file which has replaced private with protected.

* add: people who had contributed to the project and missing emails

* remove: unnecessary use statement

* modify: rename file and apply final changes

* fix: mixed space and tabs

* Add missed use statement

* remove error log

* add `use OCA\ScienceMesh\AppInfo\ScienceMeshApp;`

* fix config key

Signed-off-by: MohammadReza vahedi <[email protected]>

* add public api annotation

Signed-off-by: MohammadReza vahedi <[email protected]>

* bugfix and finalization

Signed-off-by: MohammadReza vahedi <[email protected]>

---------

Signed-off-by: MohammadReza vahedi <[email protected]>
Signed-off-by: MohammadReza vahedi <[email protected]>
Co-authored-by: Parham R <[email protected]>
Co-authored-by: Michiel de Jong <[email protected]>
Co-authored-by: root <[email protected]>
Co-authored-by: Yashar PourMohammad <[email protected]>
Co-authored-by: MohammadReza vahedi <[email protected]>
Co-authored-by: MohammadReza vahedi <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant