summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* examples: Add READMEsam/examplesSam Thursfield2020-12-171-0/+6
|
* examples: Add endpoint exampleSam Thursfield2020-12-175-1/+105
|
* examples: Move Python query examples to tracker-miners.Sam Thursfield2020-12-172-34/+0
| | | | These query the Miner FS, so they should go with it.
* examples: Remove all-async.py querySam Thursfield2020-12-171-30/+0
| | | | It's not clear how this is different from query-async.py.
* examples: Remove miner exampleSam Thursfield2020-12-171-43/+0
| | | | libtracker-miner is private in Tracker 3.
* examples: Remove flatpak exampleSam Thursfield2020-12-171-32/+0
| | | | There's a more complete example in tracker-miners.git.
* examples: Rename `introspection/python` -> `python`Sam Thursfield2020-12-174-0/+0
|
* Merge branch 'sam/rawhide' into 'master'Sam Thursfield2020-12-151-0/+4
|\ | | | | | | | | ci: Add rawhide job See merge request GNOME/tracker!355
| * ci: Add rawhide jobsam/rawhideSam Thursfield2020-12-151-0/+4
|/
* Updated Spanish translationDaniel Mustieles2020-12-151-147/+146
|
* Update Romanian translationFlorentina Mușat2020-12-141-29/+47
|
* Update Ukrainian translationYuri Chornoivan2020-12-141-154/+151
|
* Merge branch 'wip/carlosg/coverity-warnings' into 'master'Carlos Garnacho2020-12-132-2/+2
|\ | | | | | | | | libtracker-sparql: Fix newly introduced coverity warnings See merge request GNOME/tracker!362
| * libtracker-sparql: Fix newly introduced coverity warningsCarlos Garnacho2020-12-132-2/+2
|/ | | | | We shouldn't reach paths that those are unset, avoid the warning anyway.
* Merge branch 'sam/duration-seconds' into 'master'Carlos Garnacho2020-12-131-1/+1
|\ | | | | | | | | ontologies: Specify a unit for nfo:duration See merge request GNOME/tracker!361
| * ontologies: Specify a unit for nfo:durationSam Thursfield2020-12-131-1/+1
| | | | | | | | | | | | Upstream Nepomuk doesn't specify a unit, but it's a useless value without one. GStreamer extractor treats duration as seconds so lets declare that as the standard.
* | Merge branch 'wip/carlosg/http-endpoint' into 'master'Sam Thursfield2020-12-1319-10/+1492
|\ \ | | | | | | | | | | | | Add TrackerEndpointHttp object See merge request GNOME/tracker!358
| * | docs: Document --http-port/--loopback options in endpoint manpagewip/carlosg/http-endpointCarlos Garnacho2020-12-131-0/+18
| | |
| * | tracker: Add --loopback option to "tracker3 endpoint"Carlos Garnacho2020-12-131-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | This combines with --http-port and HTTP endpoints. Allows running the endpoint in a way that only connections via the loopback device are allowed. This might be useful for testing, without maybe leaking undesired details on the outside.
| * | libtracker-sparql: Add signal to control access to HTTP endpointCarlos Garnacho2020-12-131-0/+37
| | | | | | | | | | | | | | | | | | | | | This signal is meant for simple access control, and receives the GSocketAddress corresponding to the remote connection. Users may connect a signal handler to block the connection based on that data (e.g. allowing different scopes, loopback connections, local networks, ...).
| * | tests: Add basic functional test for the HTTP endpointCarlos Garnacho2020-12-132-0/+50
| | | | | | | | | | | | Test it via the CLI atm, in order to exercise as much as possible.
| * | tracker: Add --http-port option to "tracker3 endpoint" commandCarlos Garnacho2020-12-131-1/+66
| | | | | | | | | | | | Let "tracker3 endpoint" expose HTTP endpoints as well as D-Bus ones.
| * | libtracker-sparql: Add HTTP endpoint implementationCarlos Garnacho2020-12-138-9/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement partially the server-side bits of https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/, or at least those bits that we handle in our remote connection side. Most notably, we only handle select queries ATM, this means no modifications, no authentication concerns, etc. This implements the necessary bits to have TrackerEndpoint and tracker_sparql_connection_remote_new() understand each other.
| * | libtracker-sparql: Hook XML/JSON serializers to constructorCarlos Garnacho2020-12-131-1/+19
| | | | | | | | | | | | So they can be used just giving the expected TrackerSerializerFormat.
| * | libtracker-sparql: Add private XML serializer taskCarlos Garnacho2020-12-134-1/+299
| | | | | | | | | | | | | | | This object takes care of serializing cursors into application/sparql-results+xml format.
| * | libtracker-sparql: Add private JSON serializer subclassCarlos Garnacho2020-12-134-0/+315
| | | | | | | | | | | | | | | This object takes care of translating a cursor into application/sparql-results+json output.
| * | libtracker-sparql: Add private/abstract TrackerSerializer objectCarlos Garnacho2020-12-135-0/+193
|/ / | | | | | | | | | | This object is a subclass of GInputStream that takes a SPARQL cursor on construction. It is meant to handle serialization of SPARQL results into text formats.
* | Merge branch 'abderrahim/fix-build' into 'master'Abderrahim Kitouni2020-12-131-1/+1
|\ \ | | | | | | | | | | | | build: fix build when using --buildtype=plain See merge request GNOME/tracker!359
| * | build: fix build when using --buildtype=plainAbderrahim Kitouni2020-12-131-1/+1
|/ / | | | | | | Fixes ca0e860dbc43ad40c38fb05656995c20944b2238
* | Update Romanian translationFlorentina Mușat2020-12-121-240/+214
| |
* | Merge branch 'wip/carlosg/batches-and-resources' into 'master'Sam Thursfield2020-12-111-44/+84
|\ \ | | | | | | | | | | | | TrackerBatch fixes See merge request GNOME/tracker!357
| * | libtracker-data: Cluster deletions issued by TrackerResourceCarlos Garnacho2020-12-111-35/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to flush the TrackerData command buffer after deletions, before the insertions and updates might poke the old values. Cluster deletions together for a given TrackerResource, so we just need to flush once between deletes and inserts. Also, bypass property deletes/resets on bnode resources, since those are being freshly inserted they won't have old data to delete.
| * | libtracker-data: Remove astray ':'Carlos Garnacho2020-12-111-1/+1
| | | | | | | | | | | | | | | | | | The UUID generation function already uses ':' as the separator, adding it here too means we have "urn:bnode::..." prefix, the double colons are undesired.
| * | libtracker-data: Add missing conversion from datetime typesCarlos Garnacho2020-12-111-0/+12
| | | | | | | | | | | | | | | There was no conversion from TrackerResource properties that have a datetime type.
| * | libtracker-data: Fix bnode cache lookupsCarlos Garnacho2020-12-111-2/+2
| | | | | | | | | | | | | | | We use resource identifiers as the hashtable key, but were looking up on the resource pointer here. Oops.
| * | libtracker-data: Perform TrackerResource element deletion at a lower levelCarlos Garnacho2020-12-111-25/+21
|/ / | | | | | | | | | | | | | | | | | | | | We currently are using APIs from 2 different levels, the tracker_sparql_delete_statement function is very high level, and doesn't get along with get_old_property_values() in the expected formats (most glaring thing is expressing resources as IDs vs URI strings). Use the lowlevel API all through, pretty much like tracker_sparql_delete_statement() does, so resource properties are properly deleted.
* | ci: Fix coverity info uploadCarlos Garnacho2020-12-101-1/+1
|/ | | | | This is now looking in the wrong directory, we are already inside the coverity-build directory there.
* Merge branch 'sam/debug-plain' into 'master'Sam Thursfield2020-12-101-2/+10
|\ | | | | | | | | build: Enable debug if --buildtype=plain See merge request GNOME/tracker!350
| * build: Enable debug if --buildtype=plainsam/debug-plainSam Thursfield2020-12-011-2/+10
| |
* | Merge branch 'strip-punctuation' into 'master'Sam Thursfield2020-12-106-0/+45
|\ \ | | | | | | | | | | | | | | | | | | Strip punctuation Closes #274 See merge request GNOME/tracker!352
| * | tracker:strip-punctuation function createdNishit Patel2020-12-106-0/+45
|/ / | | | | | | | | function will match the regex of punctuation and replace it with empty space
* | Merge branch 'wip/carlosg/ci-unprivileged' into 'master'Sam Thursfield2020-12-101-22/+23
|\ \ | | | | | | | | | | | | CI fixes for unprivileged images See merge request GNOME/tracker!354
| * | ci: Drop dnf callswip/carlosg/ci-unprivilegedCarlos Garnacho2020-12-101-2/+0
| | | | | | | | | | | | | | | We no longer have privileges to do these. Any necessary package should be installed already in our image.
| * | ci: Avoid usage of `su` commandCarlos Garnacho2020-12-101-20/+23
| | | | | | | | | | | | | | | | | | Adapt to https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/28. We no longer can (nor need to, really) switch users with `su`. Drop these calls, and account for the changes of $CWD in the course of the issued commands.
* | | Merge branch 'wip/carlosg/fts-with-sqlite-3.34.0' into 'master'Sam Thursfield2020-12-102-2/+5
|\ \ \ | |/ / |/| | | | | | | | libtracker-data: Avoid deletion of empty rows in FTS table See merge request GNOME/tracker!353
| * | libtracker-data: Avoid deletion of empty rows in FTS tablewip/carlosg/fts-with-sqlite-3.34.0Carlos Garnacho2020-12-102-2/+5
|/ / | | | | | | | | | | | | | | | | Starting with SQLite 3.34.0, this turns into a consistency error. Ensure rows being deleted have actually some content before proceeding to deletion, and ensure we don't process individual properties one by one in the course of a whole rdfs:Resource deletion. Fixes: https://bugs.archlinux.org/task/68903
* | Merge branch 'sam/gir-fix' into 'master'Sam Thursfield2020-12-081-1/+2
|\ \ | | | | | | | | | | | | Add missing <package> element to Tracker-3.0.gir See merge request GNOME/tracker!351
| * | Add missing <package> element to Tracker-3.0.girSam Thursfield2020-12-081-1/+2
|/ / | | | | | | See: https://discourse.gnome.org/t/rust-bindings-for-tracker-3-from-gir/4968
* | Merge branch 'wip/carlosg/insert-perf' into 'master'Sam Thursfield2020-12-0112-307/+276
|\ \ | | | | | | | | | | | | Improve insert performance See merge request GNOME/tracker!348
| * | libtracker-data: Avoid varargs function where possiblewip/carlosg/insert-perfCarlos Garnacho2020-12-019-90/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We let tracker_db_interface_create_statement() take varargs, even though most often we have full SQL queries to give. Add a separate tracker_db_interface_create_vstatement() function taking varargs, and let this function go with the given SQL string as is. This avoids needless string copies in fast paths, like executing a TrackerSparqlStatement.