- Feb 06, 2023
-
- Feb 02, 2023
-
-
Antoine Lambert authored
This fixes python 3.7 support due to poetry, a dependency of isort, that removed support for that Python version in a recent release.
-
- Feb 01, 2023
-
-
Jayesh authored
Remove Flask dependency from tests Use real config file instead of fixtures New test config file
-
Antoine Lambert authored
It fixes _pytest.pathlib.ImportPathMismatchError when swh.graphql packaging has been performed.
-
Jayesh authored
Revision target will always be a directory. Remove this redundant info from the schema.
-
- Jan 30, 2023
-
-
Jayesh authored
-
- Jan 27, 2023
-
-
Jayesh authored
New module for SWHID resolve Minor refactoring to move get_directory and get_snapshot to backend
-
- Jan 25, 2023
-
-
Jayesh authored
Add a target layer between the revision and the target directory nodes. This gives the possibility of exposing the SWHID before retrieving the directory node from the archive.
-
Jayesh authored
Make originSearch an independent entrypoint Flatten the result object as the return type is always an origin
-
- Jan 24, 2023
-
-
- Jan 20, 2023
- Jan 17, 2023
-
-
Jayesh authored
Remove the aliasbranch objects from the schema and resolve target to real objects and to their resolve chains. Targets and chains can also be null.
-
- Jan 11, 2023
-
-
Jayesh authored
Add TotalCount to all the connections with GraphQL level pagination. Create a new wrapper dataclass for connection data.
-
- Jan 06, 2023
-
-
Jayesh authored
Calculate the total query cost from the query AST. This will block big queries before executing them. Related to T4299
-
- Jan 02, 2023
-
-
Jayesh authored
-
Jayesh authored
Return a non paginated list for ContentsByHashes and ContentsBySWHID entrypoints Add a new entrypoint ContentByHashes to return a unique content object
-
Jayesh authored
Author and committer in revision and author in release are now returning a single person object. Change that to a list of persons to support multiple authors in the data model.
-
- Dec 26, 2022
-
-
Jayesh authored
-
- Dec 23, 2022
-
-
Jayesh authored
Some connections do not require pagination support eg: ResolveSWHID, that returns a list but is alwasys too small for any real pagination. Add a BaseList class to support such items.
-
- Dec 21, 2022
-
-
Jayesh authored
Revision and release dates could have different values for offset. Add a new schema type to handle these two dates and return available offset as a binary string. Related to T4365
-
- Dec 19, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
In order to remove warnings about /apidoc/*.rst files being included multiple times in toc when building full swh documentation, prefer to include module indices only when building standalone package documentation. Related to T4496
-
- Dec 15, 2022
-
-
Jayesh authored
Item cursors in origin, originsearch, visit, visitstatus and snapshotbranch can not always be determined. This could cause client errors. They are temporarily removed from the schema and can be added after re-factoring backend source functions.
-
Jayesh authored
contentByHashes now accepts four different hashes instead of a list. At least one hash must be provided for this entrypoint to work.
-
- Dec 12, 2022
-
-
Jayesh authored
It is advised to disable query introspection in a prod setup to avoid attacks. Make the option configurable from the yaml file.
-
- Nov 21, 2022
- Oct 19, 2022
-
-
Antoine Lambert authored
-
Jayesh authored
-
- Oct 18, 2022
-
-
David Douard authored
- pre-commit from 4.1.0 to 4.3.0, - codespell from 2.2.1 to 2.2.2, - black from 22.3.0 to 22.10.0 and - flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies. Also change flake8's repo config to github (the gitlab mirror being outdated).
-
Jayesh authored
-
- Oct 05, 2022
-
-
Jayesh authored
Add unit tests for the server and scalars module Remove unused code
-
- Sep 28, 2022
- Sep 26, 2022
-
-
Jayesh authored
Use a factory class to create node and connection objects. Bind them to schema in the resolvers module. raise NullableObjectError in the node resolvers to return None instead of an object.
-
Jayesh authored
Visit status is using a different cursor in the storage. Override _get_index_cursor to support that.
-